summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian/xdgmenumaker-user.sh
blob: cbf8a3348f2e4e9e240cd9123a4bcb3f9be83bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
bgstack15