This commit is contained in:
2019-01-31 01:07:23 -05:00
parent e5456c8f52
commit eb726a13c9
6 changed files with 56 additions and 42 deletions

View File

@@ -4,9 +4,10 @@ base_bg_path="/home/kevin/Pictures/Backgrounds"
brightness_choice=$(echo -e "dim\nbright" | dmenu -i)
EDITING_CHOICES=("non-editing" "editing")
editing_choice=$(echo -e "${EDITING_CHOICES[0]}\n${EDITING_CHOICES[1]}" | dmenu -i)
# editing_choice=$(echo -e "${EDITING_CHOICES[0]}\n${EDITING_CHOICES[1]}" | dmenu -i)
editing_choice="non-editing"
if [[ "$editing_choice" = "${EDITING_CHOICES[1]}" ]]; then
if [[ "$editing_choice" = "${EDITING_CHOICES[0]}" ]]; then
rand=$(( RANDOM % 2 ))
editing_choice=${EDITING_CHOICES[$rand]}
fi