Merge pull request 'No need to use qt5ct anymore' (#1) from rokosun-patch-1 into main

Reviewed-on: #1
This commit is contained in:
Tio TROM 2022-10-20 23:21:52 +02:00
commit 9efd0ad03b

View File

@ -4,8 +4,6 @@ icons=/usr/share/tromjaro-theme-switcher/icons
set_icon_theme() { set_icon_theme() {
# Change icon theme in XFCE # Change icon theme in XFCE
xfconf-query -c xsettings -p /Net/IconThemeName -n -t string -s "$1" xfconf-query -c xsettings -p /Net/IconThemeName -n -t string -s "$1"
# Change icon theme in qt5ct configuration
sed -i "s/^icon_theme=.*$/icon_theme=$1/" "$HOME"/.config/qt5ct/qt5ct.conf
} }
set_theme() { set_theme() {