sway: add some cursor settings

This commit is contained in:
surtur 2024-04-02 17:54:10 +02:00
parent f310a04bd5
commit 2a2fb8cf35
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -29,6 +29,7 @@ set
# $icon_theme "Yaru-blue-dark" # $icon_theme "Yaru-blue-dark"
# $gtk_cursor_theme "Yaru" # $gtk_cursor_theme "Yaru"
$gtk_cursor_theme "Adwaita" $gtk_cursor_theme "Adwaita"
$cursor_size 16
$theme "Yaru-purple-dark" $theme "Yaru-purple-dark"
$laptop_screen "eDP-1" $laptop_screen "eDP-1"
$ext_screen "Dell Inc. DELL U2412M Y1H5T27N1EVL" $ext_screen "Dell Inc. DELL U2412M Y1H5T27N1EVL"
@ -73,6 +74,9 @@ gaps inner 5
font pango:FiraCode Retina 14px font pango:FiraCode Retina 14px
# hide mouse after some seconds inactivity
seat * hide_cursor 15000
seat seat0 xcursor_theme $gtk_cursor_theme $cursor_size
exec_always --no-startup-id exec_always --no-startup-id
{ {
swaymsg output $pri bg $bg fill #000000 swaymsg output $pri bg $bg fill #000000
@ -82,6 +86,7 @@ exec_always --no-startup-id
gsettings set org.gnome.desktop.interface icon-theme '$icon_theme' gsettings set org.gnome.desktop.interface icon-theme '$icon_theme'
gsettings set org.gnome.desktop.interface cursor-theme '$gtk_cursor_theme' gsettings set org.gnome.desktop.interface cursor-theme '$gtk_cursor_theme'
gsettings set org.gnome.desktop.interface font-name '$gtk_font_name $gtk_font_size' gsettings set org.gnome.desktop.interface font-name '$gtk_font_name $gtk_font_size'
gsettings set $gnome-schema cursor-size $my_cursor_size
gsettings set org.gnome.desktop.wm.preferences button-layout 'icon:close' gsettings set org.gnome.desktop.wm.preferences button-layout 'icon:close'
gsettings set org.gnome.desktop.wm.preferences theme '$theme' gsettings set org.gnome.desktop.wm.preferences theme '$theme'
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true