i3: hide cursor after idle

This commit is contained in:
thek4n 2025-01-29 11:02:00 +03:00
parent 9367aa7990
commit 0d4515d8c3
2 changed files with 5 additions and 2 deletions

View File

@ -12,6 +12,9 @@ set $i3lock_cmd "i3lock -enf -c 1e1e1e"
exec --no-startup-id xset +dpms dpms 600 0 0 exec --no-startup-id xset +dpms dpms 600 0 0
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -enf -c 1e1e1e exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -enf -c 1e1e1e
# hide cursor
exec --no-startup-id unclutter -idle 0.3 -root
exec_always --no-startup-id xset r rate 250 100 exec_always --no-startup-id xset r rate 250 100
exec_always --no-startup-id setxkbmap -model pc105 -layout us,ru -option grp:win_space_toggle -option ctrl:nocaps exec_always --no-startup-id setxkbmap -model pc105 -layout us,ru -option grp:win_space_toggle -option ctrl:nocaps
@ -237,4 +240,4 @@ bindsym $mod+q exec --no-startup-id i3-msg workspace hide1; workspace hide2
no_focus [title="^Peek preview$"] no_focus [title="^Peek preview$"]
include ~/.config/i3/config.d/*.conf include ~/.config/i3/config.d/*.conf

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
echo "sudo pacman -S nitrogen picom compton ttf-font-awesome xdotool xclip maim playerctl rofi" echo "sudo pacman -S nitrogen picom compton ttf-font-awesome xdotool xclip maim playerctl rofi unclutter"