diff options
| author | William Hergès <william@herges.fr> | 2025-08-12 15:19:57 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-08-12 15:19:57 +0200 |
| commit | 4a21ae6fcdfcd0051a2e6fee641cd344c01dac83 (patch) | |
| tree | a3741ca7f848d0f5213915d82f78fd0039a874f9 /config/polybar/panels/scripts/styles.sh | |
| parent | fed5ed81fbf64942dab81e7afd1eac5651290631 (diff) | |
Reset everything
Diffstat (limited to 'config/polybar/panels/scripts/styles.sh')
| -rwxr-xr-x | config/polybar/panels/scripts/styles.sh | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/config/polybar/panels/scripts/styles.sh b/config/polybar/panels/scripts/styles.sh deleted file mode 100755 index fc627c7..0000000 --- a/config/polybar/panels/scripts/styles.sh +++ /dev/null @@ -1,88 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/panels" - -change_panel() { - # replace config with selected panel - cat "$DIR"/panel/"${panel}.ini" > "$DIR"/config.ini - - # Change wallpaper - feh --bg-fill "$DIR"/wallpapers/"$bg" - - # Restarting polybar - polybar-msg cmd restart -} - -if [[ "$1" = "--budgie" ]]; then - panel="budgie" - bg="budgie.jpg" - change_panel - -elif [[ "$1" = "--deepin" ]]; then - panel="deepin" - bg="deepin.jpg" - change_panel - -elif [[ "$1" = "--elight" ]]; then - panel="elementary" - bg="elementary.jpg" - change_panel - -elif [[ "$1" = "--edark" ]]; then - panel="elementary_dark" - bg="elementary_2.jpg" - change_panel - -elif [[ "$1" = "--gnome" ]]; then - panel="gnome" - bg="gnome.jpg" - change_panel - -elif [[ "$1" = "--klight" ]]; then - panel="kde" - bg="kde.jpg" - change_panel - -elif [[ "$1" = "--kdark" ]]; then - panel="kde_dark" - bg="kde_2.jpg" - change_panel - -elif [[ "$1" = "--liri" ]]; then - panel="liri" - bg="liri.png" - change_panel - -elif [[ "$1" = "--mint" ]]; then - panel="mint" - bg="mint.jpg" - change_panel - -elif [[ "$1" = "--ugnome" ]]; then - panel="ubuntu_gnome" - bg="ubuntu.jpg" - change_panel - -elif [[ "$1" = "--unity" ]]; then - panel="ubuntu_unity" - bg="ubuntu.jpg" - change_panel - -elif [[ "$1" = "--xubuntu" ]]; then - panel="xubuntu" - bg="xubuntu.png" - change_panel - -elif [[ "$1" = "--zorin" ]]; then - panel="zorin" - bg="zorin.png" - change_panel - -else - cat <<- _EOF_ - No option specified, Available options: - --budgie --deepin --elight --edark --gnome --klight - --kdark --liri --mint --ugnome --unity --xubuntu - --zorin - _EOF_ -fi |
