diff options
Diffstat (limited to 'xdgmenumaker/debian/xdgmenumaker-user')
-rwxr-xr-x | xdgmenumaker/debian/xdgmenumaker-user | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xdgmenumaker/debian/xdgmenumaker-user b/xdgmenumaker/debian/xdgmenumaker-user new file mode 100755 index 0000000..cbf8a33 --- /dev/null +++ b/xdgmenumaker/debian/xdgmenumaker-user @@ -0,0 +1,14 @@ +#!/usr/bin/env sh +# Startdate: 2020-02-11 + +echo " $* " | grep -qE -e "\<fluxbox\>" && _XDG_REQUESTED_DESKTOP=fluxbox + +case "${_XDG_REQUESTED_DESKTOP}" in + fluxbox) + /usr/bin/xdgmenumaker -f fluxbox -i > "${HOME}/.fluxbox/xdg-menu" + ;; + *) + echo "Gotta say unh. Feature \"$*\" not yet implemented." 1>&2 + exit 1 + ;; +esac |