From 751c41493036274f0ce880413b770c084d71d0fe Mon Sep 17 00:00:00 2001 From: mara Date: Sun, 2 Jun 2024 16:00:32 +0200 Subject: [PATCH] rofi edit --- install.sh | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index 3c1e688..80f408f 100644 --- a/install.sh +++ b/install.sh @@ -973,8 +973,21 @@ configuration { modi: "window,run,drun"; } -@theme "/dev/null" +/* The Theme */ +@theme "~/.config/rofi/rofi-colors.rasi" +// Theme location is "/usr/share/rofi/themes/name.rasi" +//@theme "/usr/share/rofi/themes/Arc-Dark.rasi" + +ROFICONFIG + +else + echo "Rofi rofi-colors file already exists." +fi + +if [ ! -f ~/.config/rofi/rofi-colors.rasi ]; then +#touch ~/.config/rofi/config.rasi +cat << "ROFITHEMECONFIG" > ~/.config/rofi/rofi-colors.rasi * { bg: #10171c; bg-alt: #344959; @@ -990,6 +1003,16 @@ configuration { spacing: 0; } +@import "rofi-common.rasi" + +ROFITHEMECONFIG + +else + echo "Rofi config file already exists." +fi + +if [ ! -f ~/.config/rofi/rofi-common.rasi ]; then +cat << "ROFITHEMECOMMONCONFIG" > ~/.config/rofi/rofi-common.rasi window { width: 30%; } @@ -1042,15 +1065,10 @@ prompt { text-color: @fg; } -/* vim: ft=sass - -// Theme location is "/usr/share/rofi/themes/name.rasi" -//@theme "/usr/share/rofi/themes/Arc-Dark.rasi" - -ROFICONFIG +ROFITHEMECOMMONCONFIG else - echo "Rofi config file already exists." + echo "Rofi rofi-common file already exists." fi echo -e "${YELLOW} Rofi Run menu END ${NC}"