瀏覽代碼

Add window switcher menu

Alois Mahdal 7 年之前
父節點
當前提交
91f20f4d1b
共有 2 個檔案被更改,包括 6 行新增0 行删除
  1. 5
    0
      dotfiles/config/bmo/menu.ini
  2. 1
    0
      dotfiles/i3/config

+ 5
- 0
dotfiles/config/bmo/menu.ini 查看文件

@@ -66,3 +66,8 @@
66 66
     generator = echo none; task context list | grep '^[a-z]'
67 67
     selector_args = --split ' ' --split-field 1
68 68
     consumer = xargs -r task context
69
+
70
+[menu.def.windows]
71
+
72
+    generator = i3-lswin
73
+    consumer = i3-focuswin

+ 1
- 0
dotfiles/i3/config 查看文件

@@ -301,6 +301,7 @@ bindsym $mod+m              exec "$spn bmo menu status"
301 301
 bindsym $mod+Shift+m        exec "i3-dmenu-desktop --dmenu='bmo dmenu'"
302 302
 bindsym $mod+o              exec "$spn bmo menu context"
303 303
 bindsym $mod+Print          exec "newfeh"
304
+bindsym $mod+grave          exec "$spn bmo menu windows"
304 305
 
305 306
 
306 307
 #------------------------------------------------------------------------#