mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
Update: Added cava and fonts, updated configs, delted useless rofi configs.
This commit is contained in:
@@ -22,15 +22,15 @@ get_options() {
|
||||
main() {
|
||||
|
||||
# Get choice from rofi
|
||||
choice=$( (get_options) | rofi -dmenu -i -fuzzy -p "" -theme "$THEME")
|
||||
CHOICE=$( (get_options) | rofi -dmenu -i -fuzzy -p "" -theme "$THEME")
|
||||
|
||||
# If user has not picked anything, exit
|
||||
if [[ -z "${choice// /}" ]]; then
|
||||
if [[ -z "${CHOICE// /}" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# run the selected command
|
||||
case $choice in
|
||||
case $CHOICE in
|
||||
' Capture Region (without saving)')
|
||||
screenshot -crtc
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user