Replace tmuxp session mode with rofi selection

This commit is contained in:
2021-05-28 03:50:30 +02:00
parent a558a6584a
commit 1357d20275
2 changed files with 27 additions and 14 deletions

View File

@@ -283,6 +283,8 @@ bindsym Shift+Print exec slurp | grim -g - - | wl-copy
bindsym $mod+f exec ~/.local/share/scripts/finder
# temporary popup window selection
bindsym $mod+p exec ~/.local/share/scripts/popup-window
# tmuxp session menu
bindsym $mod+Shift+s exec ~/.local/share/scripts/tmuxp-session
# power menu
bindsym $mod+Shift+p mode "$Pause-break"
@@ -309,20 +311,6 @@ mode "$Theme-switch" {
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 a exec --no-startup-id tmuxp load ~/.tmuxp/aegis.yaml, mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
# lock screen on suspend
set $lock_bg ~/Photos/Wallpapers/wallhaven-638719.png
exec swayidle -w \