From 2797b1def9d253ed7d083336513f369435219b90 Mon Sep 17 00:00:00 2001 From: "Adam M. Stück" Date: Sat, 4 Feb 2023 00:01:12 +0100 Subject: scripts: shorter dmenu prompts and show fewer lines --- .local/bin/dmenu/dm-pass | 2 +- .local/bin/dmenu/dm-power | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.local') 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;; -- cgit v1.2.3-70-g09d2