From 01a33ab0913d439150065ac23644c4f140ff8917 Mon Sep 17 00:00:00 2001 From: Casper Date: Mon, 23 Dec 2024 17:13:45 -0700 Subject: added qmenu! --- dots/i3-config | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'dots/i3-config') 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 -- cgit v1.2.3