aboutsummaryrefslogtreecommitdiff
path: root/config/polybar/grayblocks/scripts/colors-dark.sh
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-08-12 15:19:57 +0200
committerWilliam Hergès <william@herges.fr>2025-08-12 15:19:57 +0200
commit4a21ae6fcdfcd0051a2e6fee641cd344c01dac83 (patch)
treea3741ca7f848d0f5213915d82f78fd0039a874f9 /config/polybar/grayblocks/scripts/colors-dark.sh
parentfed5ed81fbf64942dab81e7afd1eac5651290631 (diff)
Reset everything
Diffstat (limited to 'config/polybar/grayblocks/scripts/colors-dark.sh')
-rwxr-xr-xconfig/polybar/grayblocks/scripts/colors-dark.sh101
1 files changed, 0 insertions, 101 deletions
diff --git a/config/polybar/grayblocks/scripts/colors-dark.sh b/config/polybar/grayblocks/scripts/colors-dark.sh
deleted file mode 100755
index 7f3b26d..0000000
--- a/config/polybar/grayblocks/scripts/colors-dark.sh
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/usr/bin/env bash
-
-# Color files
-PFILE="$HOME/.config/polybar/grayblocks/colors.ini"
-RFILE="$HOME/.config/polybar/grayblocks/scripts/rofi/colors.rasi"
-
-# Change colors
-change_color() {
- # polybar
- sed -i -e 's/background = #.*/background = #272727/g' $PFILE
- sed -i -e 's/background-alt = #.*/background-alt = #383838/g' $PFILE
- sed -i -e 's/foreground = #.*/foreground = #CACACA/g' $PFILE
- sed -i -e 's/foreground-alt = #.*/foreground-alt = #CACACA/g' $PFILE
- sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE
- sed -i -e 's/red = #.*/red = #EF5350/g' $PFILE
- sed -i -e 's/yellow = #.*/yellow = #FFEE58/g' $PFILE
-
- # rofi
- cat > $RFILE <<- EOF
- /* colors */
-
- * {
- al: #00000000;
- bg: #272727FF;
- bga: #383838FF;
- fga: #CACACAFF;
- fg: #CACACAFF;
- ac: ${AC}FF;
- }
- EOF
-
- polybar-msg cmd restart
-}
-
-if [[ $1 = "--amber" ]]; then
- AC="#ffb300"
- change_color
-elif [[ $1 = "--blue" ]]; then
- AC="#1e88e5"
- change_color
-elif [[ $1 = "--blue-gray" ]]; then
- AC="#546e7a"
- change_color
-elif [[ $1 = "--brown" ]]; then
- AC="#6d4c41"
- change_color
-elif [[ $1 = "--cyan" ]]; then
- AC="#00acc1"
- change_color
-elif [[ $1 = "--deep-orange" ]]; then
- AC="#f4511e"
- change_color
-elif [[ $1 = "--deep-purple" ]]; then
- AC="#5e35b1"
- change_color
-elif [[ $1 = "--green" ]]; then
- AC="#43a047"
- change_color
-elif [[ $1 = "--gray" ]]; then
- AC="#757575"
- change_color
-elif [[ $1 = "--indigo" ]]; then
- AC="#3949ab"
- change_color
-elif [[ $1 = "--light-blue" ]]; then
- AC="#039be5"
- change_color
-elif [[ $1 = "--light-green" ]]; then
- AC="#7cb342"
- change_color
-elif [[ $1 = "--lime" ]]; then
- AC="#c0ca33"
- change_color
-elif [[ $1 = "--orange" ]]; then
- AC="#fb8c00"
- change_color
-elif [[ $1 = "--pink" ]]; then
- AC="#d81b60"
- change_color
-elif [[ $1 = "--purple" ]]; then
- AC="#8e24aa"
- change_color
-elif [[ $1 = "--red" ]]; then
- AC="#e53935"
- change_color
-elif [[ $1 = "--teal" ]]; then
- AC="#00897b"
- change_color
-elif [[ $1 = "--yellow" ]]; then
- AC="#fdd835"
- change_color
-else
- cat <<- _EOF_
- No option specified, Available options:
- --amber --blue --blue-gray --brown
- --cyan --deep-orange --deep-purple --green
- --gray --indigo --light-blue --light-green
- --lime --orange --pink --purple
- --red --teal --yellow
- _EOF_
-fi