|
|
||
|---|---|---|
| .. | ||
| package.lisp | ||
| README.org | ||
| swm-tmux.asd | ||
| swm-tmux.lisp | ||
Requirements
-
cl-ppcre
Install cl-ppcre from the REPL:
(ql:quickload :cl-ppcre)
Usage
This module provides a menu interface for managing tmux sessions. You can attach to existing sessions or create new ones. Session names default to the current StumpWM group name.
Put the following in your ~/.stumpwmrc
(load-module "swm-tmux")
And define a keybind in your ~/.stumpwmrc
(define-key *root-map* (kbd "t") "swm-tmux-session")
Commands
swm-tmux-session
Opens a menu to select an existing tmux session or create a new one. The session name defaults to the current group name.
swm-tmux-new-session
Quickly creates a new tmux session with an auto-generated name based on the current group.
Variables
swm-tmux-default-term
Terminal emulator to use. Default is xterm.
(setf swm-tmux:*swm-tmux-default-term* "urxvtc")
swm-tmux-default-term-title-opt
Command line option for setting the terminal title. Default is -T.
Set to NIL if your terminal does not support a title option.
(setf swm-tmux:*swm-tmux-default-term-title-opt* "-title")
swm-tmux-default-term-exec-opt
Command line option for executing a command in the terminal. Default is -e.
(setf swm-tmux:*swm-tmux-default-term-exec-opt* "-e")