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 | |
parent | ba4b119b0dec8477b25bb3feb64e4acd9b3fa447 (diff) |
scripts: shorter dmenu prompts and show fewer lines
Diffstat (limited to '.local/bin/dmenu')
-rwxr-xr-x | .local/bin/dmenu/dm-pass | 2 | ||||
-rwxr-xr-x | .local/bin/dmenu/dm-power | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/dmenu/dm-pass b/.local/bin/dmenu/dm-pass index 5420549..2432822 100755 --- a/.local/bin/dmenu/dm-pass +++ b/.local/bin/dmenu/dm-pass @@ -1,6 +1,6 @@ #!/bin/sh -DMENU_CMD="dmenu -p 'Pass:' -b -i -fn 'JetBrainsMono Nerd Font:size=11'" +DMENU_CMD="dmenu -p 'pass:' -l 8 -b -i -fn 'JetBrainsMono Nerd Font:size=11'" entry=$(find "$PASSWORD_STORE_DIR" -name '*.gpg' |\ sed "s|$PASSWORD_STORE_DIR/||" |\ 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;; |