diff options
| author | skylar <me@casper> | 2026-11-28 05:59:53 -0800 |
|---|---|---|
| committer | skylar <me@casper> | 2026-11-28 05:59:53 -0800 |
| commit | e4306e5435eef76bad7fa9b3b909362304a8a47e (patch) | |
| tree | d7856752d733cf2ef4551b3f6c6125635060ab58 /bin/luxnox-menu | |
palette.toml drives kitty, the dwl desktop (dwl, fuzzel, swaync, wob, wmenu), GTK, Qt, the console and Emacs; luxnox-toggle switches lux and nox.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 "$@" |