switched to bemenu

This commit is contained in:
William Ball 2025-05-15 10:38:03 -07:00
parent 48ce626b47
commit e0aebb0a4d
Signed by: wball
GPG key ID: B8682D8137B70765
3 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
choice=$(cat "$HOME/.config/pianobar/info" | grep "station[0-9]" | cut -d "=" -f 2 | fuzzel --dmenu) dmenu="bemenu -p station --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
choice=$(cat "$HOME/.config/pianobar/info" | grep "station[0-9]" | cut -d "=" -f 2 | $dmenu)
[ -z "$choice" ] || echo "s$(cat "$HOME/.config/pianobar/info" | grep "$choice" | cut -d "=" -f 1 | sed "s/station//")" > "$HOME/.config/pianobar/ctl" [ -z "$choice" ] || echo "s$(cat "$HOME/.config/pianobar/info" | grep "$choice" | cut -d "=" -f 1 | sed "s/station//")" > "$HOME/.config/pianobar/ctl"

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
prefix=$HOME/Nextcloud/Books/ prefix=$HOME/Nextcloud/Books/
dmenu="fuzzel -d -w 60" dmenu="bemenu -p books --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
pdf=zathura pdf=zathura
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu) choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu)

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
prefix=$HOME/Nextcloud/Papers/ prefix=$HOME/Nextcloud/Papers/
dmenu="fuzzel -d -w 60" dmenu="bemenu -p papers --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
pdf=zathura pdf=zathura
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu) choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu)