all repos

dotfiles @ 30ec1668c5453615294aec119c2826302d32acf3

i use rach linux btw
3 files changed, 22 insertions(+), 3 deletions(-)
niri: update hypridle setup
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-06-16 23:42:30 +0300
Parent: eb23315
M config/hypr/hyprlock.conf
···
                36
                36
                 input-field {

              
                37
                37
                     monitor =

              
                38
                38
                     size = 300, 50

              
                39
                
                -    valign = "bottom"

              
                
                39
                +    valign = bottom

              
                40
                40
                     position = 0%, 10%

              
                41
                41
                 

              
                42
                42
                     outline_thickness = 1

              ···
                47
                47
                     check_color = rgba(141, 186, 100, 0.5)

              
                48
                48
                     fail_color = rgba(229, 90, 79, 0.5)

              
                49
                49
                 

              
                50
                
                -    placeholder_text = "Enter Password";

              
                
                50
                +    placeholder_text = Enter Password

              
                51
                51
                 

              
                52
                52
                     dots_spacing = 0.2

              
                53
                53
                     dots_center = true

              
M config/niri/config.kdl
···
                4
                4
                 spawn-at-startup "~/.config/niri/waybar"

              
                5
                5
                 spawn-at-startup "dunst";

              
                6
                6
                 spawn-at-startup "xwayland-satellite"; // TODO: remove in next update

              
                7
                
                -spawn-at-startup "hypridle";

              
                
                7
                +spawn-at-startup "hypridle" "-c" "/home/olex/.config/niri/hypridle.conf";

              
                8
                8
                 // }}}

              
                9
                9
                 // env {{{

              
                10
                10
                 environment {

              
A config/niri/hypridle.conf
···
                
                1
                +general {

              
                
                2
                +  lock_cmd = hyprlock

              
                
                3
                +}

              
                
                4
                +

              
                
                5
                +listener { # screen lock

              
                
                6
                +  timeout = 210

              
                
                7
                +  on-timeout = loginctl lock-session

              
                
                8
                +}

              
                
                9
                +

              
                
                10
                +listener { # turn off screens

              
                
                11
                +  timeout = 230

              
                
                12
                +  on-timeout = niri msg action power-off-monitors

              
                
                13
                +  on-resume = niri msg action power-on-monitors

              
                
                14
                +}

              
                
                15
                +

              
                
                16
                +listener { # suspend

              
                
                17
                +  timeout = 500

              
                
                18
                +  on-timeout = systemctl suspend

              
                
                19
                +}