diff options
author | Adam M. Stück <adam@adast.xyz> | 2023-02-04 00:01:12 +0100 |
---|---|---|
committer | Adam M. Stück <adam@adast.xyz> | 2023-02-04 00:12:01 +0100 |
commit | 2797b1def9d253ed7d083336513f369435219b90 (patch) | |
tree | 9b7e280bf1807f5d07e9d595d20348eedfb0f98f /.local/bin/dmenu/dm-power | |
parent | ba4b119b0dec8477b25bb3feb64e4acd9b3fa447 (diff) |
scripts: shorter dmenu prompts and show fewer lines
Diffstat (limited to '.local/bin/dmenu/dm-power')
-rwxr-xr-x | .local/bin/dmenu/dm-power | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmenu/dm-power b/.local/bin/dmenu/dm-power index fefe30f..2202bc4 100755 --- a/.local/bin/dmenu/dm-power +++ b/.local/bin/dmenu/dm-power @@ -1,6 +1,6 @@ #!/bin/sh -DMENU_CMD="dmenu -p 'Power:' -b -i -fn 'JetBrainsMono Nerd Font:size=11'" +DMENU_CMD="dmenu -p 'sys:' -l 8 -b -i -fn 'JetBrainsMono Nerd Font:size=11'" case "$(printf "Shutdown\nRestart\nLogout\nSuspend\nLock" | eval "$DMENU_CMD")" in Shutdown) exec systemctl poweroff;; |