Sanchayan Maity
8a7567a8b1
While starting the tmux sessions from fish worked some environment variables were not getting picked up in tmux session. For example DISPLAY is set after we log in and the graphical sway session starts but since tmux sessions were started before that it would be absent from the tmux session. We may be wrong about the exact order and reasoning for this but atleast that is the observed behaviour. Fix this by defining a sway session target and making the tmux session service dependent on it.
9 lines
152 B
Desktop File
9 lines
152 B
Desktop File
[Unit]
|
|
Description=Start all tmux sessions on login
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=%h/.tmux/session-setup.sh
|
|
|
|
[Install]
|
|
WantedBy=sway-session.target
|