summaryrefslogtreecommitdiff
path: root/dots/i3-config
diff options
context:
space:
mode:
Diffstat (limited to 'dots/i3-config')
-rw-r--r--dots/i3-config23
1 files changed, 23 insertions, 0 deletions
diff --git a/dots/i3-config b/dots/i3-config
index 747e0cd..78ca2ae 100644
--- a/dots/i3-config
+++ b/dots/i3-config
@@ -129,6 +129,29 @@ mode "$mode_gaps_outer" {
bindsym Escape mode "default"
}
+set $mode_qmenu qmenu: (l)ocal-apps|(d)evices|(a)ttach
+bindsym $mod+p mode "$mode_qmenu"
+mode "$mode_qmenu" {
+ bindsym l exec "qmenu-am --focused"
+ bindsym d exec "qmenu-dm --all"
+ bindsym a exec "qmenu-dm --focused"
+
+ bindsym Return mode "default"
+ bindsym Escape mode "default"
+}
+
+set $mode_qmenu_vm qmenu-vm: (a)ll|(f)ocused|(h)alted|(p)aused|(r)unning
+bindsym $mod+Shift+v mode "$mode_qmenu_vm"
+mode "$mode_qmenu_vm" {
+ bindsym a exec "qmenu-vm --all"
+ bindsym f exec "qmenu-vm --focused"
+ bindsym h exec "qmenu-vm --halted"
+ bindsym r exec "qmenu-vm --running"
+
+ bindsym Return mode "default"
+ bindsym Escape mode "default"
+}
+
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod