#!/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 "$@"