diff options
author | B Stack <bgstack15@gmail.com> | 2020-02-11 15:56:38 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-02-11 15:56:38 -0500 |
commit | d91025a34e851f12c048fa347a304795a42a8d80 (patch) | |
tree | 945857b615487f4cff66532c8aafc3c4731ed6a1 /xdgmenumaker/debian/xdgmenumaker-user.sh | |
parent | Merge branch 'xseticon-bump' into 'updates' (diff) | |
download | stackrpms-d91025a34e851f12c048fa347a304795a42a8d80.tar.gz stackrpms-d91025a34e851f12c048fa347a304795a42a8d80.tar.bz2 stackrpms-d91025a34e851f12c048fa347a304795a42a8d80.zip |
add xdgmenumaker-user script and menu entry
Diffstat (limited to 'xdgmenumaker/debian/xdgmenumaker-user.sh')
-rwxr-xr-x | xdgmenumaker/debian/xdgmenumaker-user.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xdgmenumaker/debian/xdgmenumaker-user.sh b/xdgmenumaker/debian/xdgmenumaker-user.sh new file mode 100755 index 0000000..cbf8a33 --- /dev/null +++ b/xdgmenumaker/debian/xdgmenumaker-user.sh @@ -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 |