Change font
Fix xfconf create types
This commit is contained in:
Robin C. 2025-01-09 05:18:03 +01:00
parent 8aef7ac73d
commit 35011bceb3

View File

@ -55,7 +55,7 @@ xfconf-query -c xsettings -p /Net/IconThemeName -s "Vimix-dark"
# Fonts # Fonts
echo echo
echo "Setting fonts" echo "Setting fonts"
xfconf-query -c xfwm4 -p /general/title_font -s "Segoe UI Variable Static Display Semibold 14" xfconf-query -c xfwm4 -p /general/title_font -s "Segoe UI Variable Static Small Bold 11.75"
xfconf-query -c xsettings -p /Gtk/FontName -s "Segoe UI Variable Static Display Regular 11.5" xfconf-query -c xsettings -p /Gtk/FontName -s "Segoe UI Variable Static Display Regular 11.5"
xfconf-query -c xsettings -p /Gtk/MonospaceFontName -s "Hack 12" xfconf-query -c xsettings -p /Gtk/MonospaceFontName -s "Hack 12"
gsettings set org.gnome.desktop.interface monospace-font-name 'Hack 12' gsettings set org.gnome.desktop.interface monospace-font-name 'Hack 12'
@ -68,6 +68,11 @@ echo
echo "Disabling sub-pixel order" echo "Disabling sub-pixel order"
xfconf-query -c xsettings -p /Xft/RGBA -s "none" xfconf-query -c xsettings -p /Xft/RGBA -s "none"
# DPI
echo
echo "Setting DPI to 96"
xfconf-query -c xsettings -p /Xft/DPI --create --type int -s 96
# Window button layout # Window button layout
echo echo
echo "Setting the window button layout" echo "Setting the window button layout"
@ -104,7 +109,8 @@ xfconf-query -c xfce4-keyboard-shortcuts -p "/commands/custom/<Primary><Shift>Es
# Remove size margins when maximizing # Remove size margins when maximizing
echo echo
echo "Removing size margins when maximizing" echo "Removing size margins when maximizing"
xfconf-query -c xfwm4 -p /general/margin_left -s 0; xfconf-query -c xfwm4 -p /general/margin_right -s 0 xfconf-query -c xfwm4 -p /general/margin_left --create --type int -s 0
xfconf-query -c xfwm4 -p /general/margin_right --create --type int -s 0
# No confusing shade when scrolling on titlebar # No confusing shade when scrolling on titlebar
echo echo
@ -173,8 +179,8 @@ xfconf-query -c xfce4-panel -p /plugins/clipman/tweaks/popup-at-pointer --create
# Desktop display # Desktop display
echo echo
echo "Setting desktop display settings" echo "Setting desktop display settings"
xfconf-query -c xfce4-desktop -p /desktop-icons/confirm-sorting --create -s false xfconf-query -c xfce4-desktop -p /desktop-icons/confirm-sorting --create --type bool -s false
xfconf-query -c xfce4-desktop -p /desktop-icons/gravity --type string --create -s 2 xfconf-query -c xfce4-desktop -p /desktop-icons/gravity --create --type int -s 2
xfconf-query -c xfce4-desktop -p /desktop-icons/icon-size --create --type int -s 82 xfconf-query -c xfce4-desktop -p /desktop-icons/icon-size --create --type int -s 82
xfconf-query -c xfce4-desktop -p /desktop-icons/primary --create --type bool -s true xfconf-query -c xfce4-desktop -p /desktop-icons/primary --create --type bool -s true
xfconf-query -c xfce4-desktop -p /desktop-icons/show-hidden-files --create --type bool -s true xfconf-query -c xfce4-desktop -p /desktop-icons/show-hidden-files --create --type bool -s true