diff options
author | zachir <zachir@librem.one> | 2025-08-30 09:40:41 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2025-08-30 09:40:41 -0500 |
commit | a26e6ae5253d95e7238dab20e298129a468e04f6 (patch) | |
tree | 859d057fa005024b4241a546b86713fafe9963b0 /power-menu | |
parent | b3954287e7d50d744da3221677c89e108cff36c4 (diff) |
Improve dmenu support
You can now (again) pass multiple flags to dmenu through -d flags, as
well as for some scripts all args are passed to dmenu.
Diffstat (limited to 'power-menu')
-rwxr-xr-x | power-menu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ EOF type systemctl >/dev/null && SYSTEMCTL="systemctl" SYSTEMCTL="${SYSTEMCTL:-loginctl}" -COMMAND="$(echo "${LIST}" | dmenu -r)" +COMMAND="$(echo "${LIST}" | dmenu -r "$@")" case "${COMMAND}" in "shutdown") ${SYSTEMCTL} poweroff ;; |