]> git.draconx.ca Git - fvwmconf.git/blobdiff - global/alttab
Add a simple window selector menu.
[fvwmconf.git] / global / alttab
diff --git a/global/alttab b/global/alttab
new file mode 100644 (file)
index 0000000..cc01944
--- /dev/null
@@ -0,0 +1,24 @@
+CopyMenuStyle * MenuWindowSelect
+MenuStyle MenuWindowSelect SelectOnRelease Alt_L
+
+# Window Selector
+DestroyMenu MenuWindowSelect
+AddToMenu   MenuWindowSelect
++ DynamicPopupAction MakeMenuWindowSelect
+ChangeMenuStyle MenuWindowSelect MenuWindowSelect
+
+DestroyFunc MakeMenuWindowSelect
+AddToFunc   MakeMenuWindowSelect
++ I DestroyMenu recreate MenuWindowSelect
++ I AddToMenu MenuWindowSelect "Page $[page.nx]" Title
++ I All (CurrentPage, !CirculateHit) AddToMenu MenuWindowSelect $[w.name]%$[w.miniiconfile]$[w.miniiconfile.svgopts]% WindowId $[w.id] WindowSelect
+
+DestroyFunc WindowSelect
+AddToFunc   WindowSelect
++ I Iconify off
++ I FlipFocus
++ I Raise
++ I WarpToWindow 5p 5p
+
+Key Tab A M NoWindow Popup MenuWindowSelect Root c c
+Mouse 2 R A Menu MenuWindowSelect