adapt the mouse pointer for HDPI

This commit is contained in:
Tio TROM 2023-08-07 23:01:38 +02:00
parent 3dca8cb2a0
commit e0255d4763

View File

@ -43,8 +43,11 @@ set_theme() {
if [ "$(xfconf-query -c xsettings -p /Gdk/WindowScalingFactor)" = '2' ]; then if [ "$(xfconf-query -c xsettings -p /Gdk/WindowScalingFactor)" = '2' ]; then
# Use the highDPI themes for XFWM if highDPI is enabled in XFCE # Use the highDPI themes for XFWM if highDPI is enabled in XFCE
xfconf-query -c xfwm4 -p /general/theme -n -t string -s "$theme-xhdpi" xfconf-query -c xfwm4 -p /general/theme -n -t string -s "$theme-xhdpi"
xfconf-query -c xsettings -p /Gtk/CursorThemeSize -s "45"
else else
xfconf-query -c xfwm4 -p /general/theme -n -t string -s "$theme" xfconf-query -c xfwm4 -p /general/theme -n -t string -s "$theme"
xfconf-query -c xsettings -p /Gtk/CursorThemeSize -s "25"
fi fi
# Send notification about the theme change # Send notification about the theme change