Make dmenu scripts vertical
Recent dmenu update changed spacing which is irritating. Streamline all scripts to use vertical output.
This commit is contained in:
parent
359ee0f74d
commit
86991939c7
|
@ -36,7 +36,7 @@ let
|
|||
];
|
||||
|
||||
text = ''
|
||||
chosen=$(echo -e "pause\nresume" | dmenu -i)
|
||||
chosen=$(echo -e "pause\nresume" | dmenu -i -l 2)
|
||||
case "$chosen" in
|
||||
"pause")
|
||||
dunstctl set-paused true
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
# guess i3lock via nix points to other PAM and therefore does not identify by password
|
||||
|
||||
chosen=$(echo -e "lock\nsuspend\nlogout" | dmenu -i)
|
||||
chosen=$(echo -e "lock\nsuspend\nlogout" | dmenu -i -l 3)
|
||||
case "$chosen" in
|
||||
"lock")
|
||||
pkill -u "$USER" -USR1 dunst
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
activeString=""
|
||||
action=$(echo -e "enable\ndisable\n" | dmenu -i -p "$activeString")
|
||||
action=$(echo -e "enable\ndisable\n" | dmenu -l 2 -i -p "$activeString")
|
||||
case "$action" in
|
||||
"enable")
|
||||
sudo /bin/ln -s /etc/php/7.2/mods-available/xdebug.ini /etc/php/7.2/cli/conf.d/20-xdebug.ini || true
|
||||
|
|
|
@ -202,7 +202,7 @@ in {
|
|||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
# For docs, see: https://developer.gnome.org/integration-guide/stable/desktop-files.html.en
|
||||
"${modifier}+a" = "exec --no-startup-id i3-dmenu-desktop";
|
||||
"${modifier}+a" = "exec --no-startup-id i3-dmenu-desktop --dmenu='dmenu -i -l 20'";
|
||||
|
||||
"${modifier}+space" = "exec --no-startup-id custom-dmenu-selection";
|
||||
|
||||
|
|
Loading…
Reference in a new issue