]> git.armaanb.net Git - config.org.git/blobdiff - config.org
tmux: set window title to current command
[config.org.git] / config.org
index fa43e92b8bf22bcdc113dd26727e5b8f9853405f..c24dd6fb7f3e1f0607f7642246564d20e223ac83 100644 (file)
@@ -1229,7 +1229,12 @@ I use tmux in order to keep my st build light. Still learning how it works.
 #+begin_src conf :tangle ~/.tmux.conf
   set -g status off
   set -g mouse on
+
   set-option -g history-limit 50000
+
+  set -g set-titles on
+  set -g set-titles-string "#W"
+
   set-window-option -g mode-keys vi
   bind-key -T copy-mode-vi 'v' send -X begin-selection
   bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
@@ -1266,3 +1271,9 @@ I use tmux in order to keep my st build light. Still learning how it works.
   add Lock = Caps_Lock
   add Control = Control_L
 #+end_src
+** sx
+#+begin_src shell :tangle ~/.config/sx/sxrc :tangle-mode (identity #o755)
+  autostart &
+  dwmsetroot &
+  exec dwm
+#+end_src