Add tmuxp session loader with key bind
This commit is contained in:
parent
e95ab81ad9
commit
a11c487a1c
|
@ -306,6 +306,19 @@ mode "$Theme-switch" {
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# tmuxp session menu
|
||||||
|
bindsym $mod+Shift+s mode "$tmuxp-session"
|
||||||
|
|
||||||
|
set $tmuxp-session (z) zion, (u) unit
|
||||||
|
|
||||||
|
mode "$tmuxp-session" {
|
||||||
|
bindsym z exec --no-startup-id tmuxp load ~/.tmuxp/zion.yaml, mode "default"
|
||||||
|
bindsym u exec --no-startup-id tmuxp load ~/.tmuxp/unit.yaml, mode "default"
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
# lock screen on suspend
|
# lock screen on suspend
|
||||||
set $lock_bg ~/Photos/Wallpapers/wallhaven-638719.png
|
set $lock_bg ~/Photos/Wallpapers/wallhaven-638719.png
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
|
|
Loading…
Reference in New Issue