Created
November 15, 2021 07:36
-
-
Save griffinevans/23f1cbf7590d66ae329c6518943e94ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
width: 100px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
chosen=$(echo -e "1\n2" | rofi -dmenu) | |
case $chosen in | |
1) | |
echo "chose 1" | |
ans=$(rofi -dmenu -i -p "Exit? (y/n)" -theme example.rasi) | |
;; | |
2) | |
echo "chose 2" | |
exit 0 | |
;; | |
esac | |
echo $ans |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment