switch scripts over to bemenu
This commit is contained in:
parent
48a0efeff9
commit
86d56237ef
3 changed files with 11 additions and 8 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
dmenu="bemenu -p station --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
|
||||
# dmenu="fuzzel -p station -d -w 60"
|
||||
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"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
prefix=$HOME/Nextcloud/Books/
|
||||
dmenu="pipemenu --title Books"
|
||||
# dmenu="bemenu -p books --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
|
||||
# pdf=zathura
|
||||
pdf="flatpak run org.gnome.Papers"
|
||||
# dmenu="pipemenu --title Books"
|
||||
# dmenu="fuzzel -d -p books -w 80"
|
||||
dmenu="bemenu -p books --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
|
||||
pdf=zathura
|
||||
# pdf="flatpak run org.gnome.Papers"
|
||||
|
||||
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
prefix=$HOME/Nextcloud/Papers/
|
||||
dmenu="pipemenu --title Papers"
|
||||
# dmenu="bemenu -p papers --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
|
||||
# pdf=zathura
|
||||
pdf="flatpak run org.gnome.Papers"
|
||||
# dmenu="pipemenu --title Books"
|
||||
# dmenu="fuzzel -d -p books -w 80"
|
||||
dmenu="bemenu -p papers --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
|
||||
pdf=zathura
|
||||
# pdf="flatpak run org.gnome.Papers"
|
||||
|
||||
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue