summaryrefslogtreecommitdiff
path: root/fluxbox/debian/fluxbox.menu-method
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-11-09 16:04:18 -0500
committerB. Stack <bgstack15@gmail.com>2022-11-09 16:04:18 -0500
commitf183cfec8b565beeafd93f8f8b76a23fa71e78ff (patch)
tree654464b353c105428b65355a80d1322a2301483c /fluxbox/debian/fluxbox.menu-method
parentMerge branch 'freefilesync-bump' into 'master' (diff)
downloadstackrpms-f183cfec8b565beeafd93f8f8b76a23fa71e78ff.tar.gz
stackrpms-f183cfec8b565beeafd93f8f8b76a23fa71e78ff.tar.bz2
stackrpms-f183cfec8b565beeafd93f8f8b76a23fa71e78ff.zip
add fluxbox
Diffstat (limited to 'fluxbox/debian/fluxbox.menu-method')
-rw-r--r--fluxbox/debian/fluxbox.menu-method26
1 files changed, 26 insertions, 0 deletions
diff --git a/fluxbox/debian/fluxbox.menu-method b/fluxbox/debian/fluxbox.menu-method
new file mode 100644
index 0000000..2e3aa18
--- /dev/null
+++ b/fluxbox/debian/fluxbox.menu-method
@@ -0,0 +1,26 @@
+#!/usr/bin/install-menu
+#
+# Generates fluxbox menus for all registered applications.
+# (taken from Blackbox)
+compat="menu-1"
+outputencoding="LOCALE"
+
+!include menu.h
+
+genmenu="menudefs.hook"
+examplercfile="system.fluxbox-menu"
+rcfile="fluxbox-menu"
+rootprefix="/etc/X11/fluxbox/"
+userprefix=".fluxbox/"
+treewalk=M)
+
+supported
+ x11= nstring(level(), " ") "[exec] (" esc($title, ")") ") {" esc($command, "()") "} <" esc($icon, "<>") ">\n"
+ wm= nstring(level(), " ") "[restart] (" esc($title, ")") ") {" esc($command, "()") "}\n"
+ text= nstring(level(), " ") "[exec] (" esc($title, ")") ") { x-terminal-emulator -T \"" $title "\" -e " esc($command, "()") "} <" esc($icon, "<>") ">\n"
+ fluxbox= nstring(level(), " ") "[" esc($command, "()") "] (" esc($title, ")") ")\n"
+endsupported
+
+startmenu= ""
+submenutitle= nstring(level(), " ") "[submenu] (" esc($title,"()") ") {" esc($longtitle,"()") "}\n"
+endmenu= ifneq( level(), "0", nstring(level(), " ") "[end]\n" )
bgstack15