adapt the mouse pointer for HDPI
This commit is contained in:
parent
3dca8cb2a0
commit
e0255d4763
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user