Wrote dmenu bg-chooser script

This commit is contained in:
2019-01-05 17:48:36 -05:00
parent 453d2febc2
commit 5139bb33f6
9 changed files with 33 additions and 16 deletions

10
scripts/bg-chooser Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
base_bg_path="/home/kevin/Pictures/Backgrounds"
brightness_choice=$(echo -e "dim\nbright" | dmenu -i)
editing_choice=$(echo -e "editing\nnon-editing" | dmenu -i)
bg_path="$base_bg_path/$brightness_choice/$editing_choice"
wal_cmd="wal -i $bg_path"
eval "$wal_cmd"