diff options
author | mono-b <monoblanco@DRAINERDOMAIN.localdomain> | 2023-01-05 19:14:29 -0300 |
---|---|---|
committer | mono-b <monoblanco@DRAINERDOMAIN.localdomain> | 2023-01-05 19:14:29 -0300 |
commit | 1b03fa0b512c5256ac70412275a4056f782f7abf (patch) | |
tree | 4d9f4ef300e4809541cdd42ee55353915b40ef9a /polybar/cuts/scripts/styles.sh | |
parent | 8dc8f2d52338fd87e7763995e6732f5a295300e8 (diff) |
Diffstat (limited to 'polybar/cuts/scripts/styles.sh')
-rwxr-xr-x | polybar/cuts/scripts/styles.sh | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/polybar/cuts/scripts/styles.sh b/polybar/cuts/scripts/styles.sh deleted file mode 100755 index 94b6739..0000000 --- a/polybar/cuts/scripts/styles.sh +++ /dev/null @@ -1,89 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/cuts/colors.ini" -RFILE="$HOME/.config/polybar/cuts/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = #${BG}/g" $PFILE - sed -i -e "s/background-alt = #.*/background-alt = #8C${BG}/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = #${FG}/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = #33${FG}/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #${BG}BF; - bga: #${BG}FF; - fg: #${FG}FF; - ac: ${AC}FF; - se: ${AC}1A; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--mode1" ]]; then - BG="0a0a0a" - FG="f5f5f5" - AC="#fdd835" - change_color -elif [[ $1 = "--mode2" ]]; then - BG="263238" - FG="DFDFDF" - AC="#00BCD4" - change_color -elif [[ $1 = "--mode3" ]]; then - BG="112526" - FG="C4AAA5" - AC="#EE7313" - change_color -elif [[ $1 = "--mode4" ]]; then - BG="461320" - FG="f5f5f5" - AC="#fdd835" - change_color -elif [[ $1 = "--mode5" ]]; then - BG="092F1C" - FG="f5f5f5" - AC="#fdd835" - change_color -elif [[ $1 = "--mode6" ]]; then - BG="003C3C" - FG="CFCFCF" - AC="#00acc1" - change_color -elif [[ $1 = "--mode7" ]]; then - BG="3C3836" - FG="EBDBB2" - AC="#FB4934" - change_color -elif [[ $1 = "--mode8" ]]; then - BG="2E3440" - FG="D8DEE9" - AC="#BF616A" - change_color -elif [[ $1 = "--mode9" ]]; then - BG="002b36" - FG="839496" - AC="#b58900" - change_color -elif [[ $1 = "--mode10" ]]; then - BG="1F1626" - FG="FFFFFF" - AC="#FFD16F" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --mode1 --mode2 --mode3 --mode4 --mode5 - --mode6 --mode7 --mode8 --mode9 --mode10 - _EOF_ -fi |