about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-18T20·57+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-18T20·57+0000
commite14b271d3980468bd7eb1db2192796e2ade7400b (patch)
tree0c5c88b622a2900126629c6ccd17df50754f6842
parentaec646166095547ef26c0dcc3249842e4654d037 (diff)
Start Tmux up when X initializes
As noted in the comments, this may not be the final destination for this
incantation. It may also be. Right now, I don't know.
-rw-r--r--configs/shared/x_server/.xsessionrc.shared6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/shared/x_server/.xsessionrc.shared b/configs/shared/x_server/.xsessionrc.shared
index 996b57054010..e53c36942a56 100644
--- a/configs/shared/x_server/.xsessionrc.shared
+++ b/configs/shared/x_server/.xsessionrc.shared
@@ -11,8 +11,10 @@ export GTK_IM_MODULE=xim
 # Desktop background color.
 xsetroot -solid "#333333"
 
-# start the urxvt daemon
-urxvtd -q -f -o
+# start tmux with a few commonly used sessions
+# TODO: consider moving this else like ~/.profile, so it doesn't depend on X.
+# This might be better for SSH.
+tmux new -d -s main
 
 # set kbds
 xmodmap -e 'remove Lock = Caps_Lock'