add tofi change theme

This commit is contained in:
Lucas Barbieri 2024-02-16 11:02:35 -03:00
parent 0ad0fd1cfd
commit ff31db83c3
6 changed files with 22 additions and 3 deletions

View File

@ -11,8 +11,7 @@ padding-left = 35%
padding-top = 35%
result-spacing = 25
num-results = 5
background-color = #000B
text-color = #abb2bf
selection-color = #427573
fuzzy-match = true
drun-launch = true
include = theme.conf

View File

@ -0,0 +1,3 @@
background-color = #fbf1c7DD
text-color = #54433a
selection-color = #a06d00

View File

@ -0,0 +1,3 @@
background-color = #000000BB
text-color = #c9c1c9
selection-color = #f85149

View File

@ -0,0 +1 @@
/yang/.config/tofi/melange.conf

View File

@ -0,0 +1,3 @@
background-color = #fdf6e3BB
text-color = #adbcbc
selection-color = #009c8f

View File

@ -36,6 +36,8 @@ case "$CHOICE" in
# neofetch
sed -i 's/image_source=.*/image_source="$HOME\/pics\/neofetch\/melangium.jpg"/g' ~/.config/neofetch/config.conf
# change tofi theme
ln -sf ~/.config/tofi/melange.conf ~/.config/tofi/theme.conf
;;
white)
@ -53,6 +55,9 @@ case "$CHOICE" in
# waybar white css
killall waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null &
# change tofi theme
ln -sf ~/.config/tofi/white.conf ~/.config/tofi/theme.conf
;;
red)
@ -72,8 +77,13 @@ case "$CHOICE" in
# waybar black css
killall waybar; waybar > /dev/null &
# change tofi theme
ln -sf ~/.config/tofi/red.conf ~/.config/tofi/theme.conf
;;
*)
exit 0
;;
esac