diff options
Diffstat (limited to 'bin/luxnox-menu')
| -rwxr-xr-x | bin/luxnox-menu | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/luxnox-menu b/bin/luxnox-menu new file mode 100755 index 0000000..8d2f95f --- /dev/null +++ b/bin/luxnox-menu @@ -0,0 +1,7 @@ +#!/bin/sh +# wmenu in the current luxnox mode's colours (wmenu has no config file). +# Takes wmenu's other arguments: luxnox-menu -i -l 5 -p Power +flags="${XDG_STATE_HOME:-$HOME/.local/state}/luxnox/current/wmenu" +# shellcheck disable=SC2046 # the flags file is one line of words +[ -r "$flags" ] && exec wmenu $(cat "$flags") "$@" +exec wmenu "$@" |