From 2a2fb8cf3567f3062645d69c83a81970727f26eb Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 2 Apr 2024 17:54:10 +0200 Subject: [PATCH] sway: add some cursor settings --- .config/sway/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index e7e63bd..6471b5e 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -29,6 +29,7 @@ set # $icon_theme "Yaru-blue-dark" # $gtk_cursor_theme "Yaru" $gtk_cursor_theme "Adwaita" + $cursor_size 16 $theme "Yaru-purple-dark" $laptop_screen "eDP-1" $ext_screen "Dell Inc. DELL U2412M Y1H5T27N1EVL" @@ -73,6 +74,9 @@ gaps inner 5 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 { 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 cursor-theme '$gtk_cursor_theme' 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 theme '$theme' gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true