Remove themes that don't play well with QT apps

This commit is contained in:
Rokosun 2023-10-16 12:57:07 +02:00
parent b342545738
commit 7125866bb8

View File

@ -21,7 +21,7 @@ set_theme() {
# Set the icon theme and panel color according to the chosen theme # Set the icon theme and panel color according to the chosen theme
case "$theme" in case "$theme" in
*'-Dark-Gruvbox'|*'-Dark'|*'-Dark-Nord') *'-Dark'|*'-Dark-Nord')
set_icon_theme 'zafiro-dark' set_icon_theme 'zafiro-dark'
;; ;;
*) *)
@ -41,7 +41,7 @@ set_theme() {
export -f set_icon_theme enable_dark_panels set_theme export -f set_icon_theme enable_dark_panels set_theme
# A collection of tooltips that appear when you hover over a theme button # A collection of tooltips that appear when you hover over a theme button
declare -r themes_tooltip=('Grey-Light' 'Grey' 'Grey-Nord' 'Grey-Dark' 'Grey-Dark-Nord' 'Grey-Dark-Gruvbox' 'Pink-Light' 'Pink' 'Pink-Nord' 'Pink-Dark' 'Pink-Dark-Nord' 'Pink-Dark-Gruvbox' 'Green-Light' 'Green' 'Green-Nord' 'Green-Dark' 'Green-Dark-Nord' 'Dark-Gruvbox' 'Orange-Light' 'Orange' 'Orange-Nord' 'Orange-Dark' 'Orange-Dark-Nord' 'Orange-Dark-Gruvbox' 'Purple-Light' 'Purple' 'Purple-Nord' 'Purple-Dark' 'Purple-Dark-Nord' 'Purple-Dark-Gruvbox' 'Yellow-Light' 'Yellow' 'Yellow-Nord' 'Yellow-Dark' 'Yellow-Dark-Nord' 'Yellow-Dark-Gruvbox' 'Teal-Light' 'Teal' 'Teal-Nord' 'Teal-Dark' 'Teal-Dark-Nord (default)' 'Dark-Nord') declare -r themes_tooltip=('Grey-Light' 'Grey-Nord' 'Grey-Dark' 'Grey-Dark-Nord' 'Pink-Light' 'Pink-Nord' 'Pink-Dark' 'Pink-Dark-Nord' 'Green-Light' 'Green-Nord' 'Green-Dark' 'Green-Dark-Nord' 'Orange-Light' 'Orange-Nord' 'Orange-Dark' 'Orange-Dark-Nord' 'Purple-Light' 'Purple-Nord' 'Purple-Dark' 'Purple-Dark-Nord' 'Yellow-Light' 'Yellow-Nord' 'Yellow-Dark' 'Yellow-Dark-Nord' 'Teal-Light' 'Teal-Nord' 'Teal-Dark' 'Teal-Dark-Nord (default)')
# Build the command line arguments we need to pass to yad to display the theme buttons # Build the command line arguments we need to pass to yad to display the theme buttons
build_cmdline_args() { build_cmdline_args() {