more theme related things

This commit is contained in:
Tiago Sousa 2024-03-14 22:36:48 +00:00
parent fdf3f567e5
commit 72f0e41648
Signed by: tiago
SSH key fingerprint: SHA256:odOD9vln9U7qNe1R8o3UCbE3jkQCkr5/q5mgd5hwua0
7 changed files with 57 additions and 11 deletions

View file

@ -9,8 +9,8 @@ theme_options=(
)
# rofi script to get what theme to use
chosen=$(printf '%s\n' "${theme_options[@]}" | rofi -dmenu -p "Theme")
if [[ -z $chosen ]]; then
chosen=$(printf '%s\n' "${theme_options[@]}" | rofi -dmenu -p "Theme" -theme-str "configuration {show-icons:false;}")
if [[ $chosen == "-" ]]; then
exit 1
fi
theme=$(echo "${chosen}" | rev | cut -d- -f2- | rev)
@ -45,9 +45,9 @@ tmux source "$HOME/.config/tmux/tmux.conf"
# change dunst
# change fish
fish_config theme choose "$chosen"
fish -c "echo 'y' | fish_config theme save '${chosen}'"
# maybe change gtk theme??
# maybe change gtk theme?? and discord??
# recompile i3
i3-msg restart