mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
niri: update hypridle setup
This commit is contained in:
parent
eb23315269
commit
30ec1668c5
3 changed files with 22 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ label {
|
||||||
input-field {
|
input-field {
|
||||||
monitor =
|
monitor =
|
||||||
size = 300, 50
|
size = 300, 50
|
||||||
valign = "bottom"
|
valign = bottom
|
||||||
position = 0%, 10%
|
position = 0%, 10%
|
||||||
|
|
||||||
outline_thickness = 1
|
outline_thickness = 1
|
||||||
|
|
@ -47,7 +47,7 @@ input-field {
|
||||||
check_color = rgba(141, 186, 100, 0.5)
|
check_color = rgba(141, 186, 100, 0.5)
|
||||||
fail_color = rgba(229, 90, 79, 0.5)
|
fail_color = rgba(229, 90, 79, 0.5)
|
||||||
|
|
||||||
placeholder_text = "Enter Password";
|
placeholder_text = Enter Password
|
||||||
|
|
||||||
dots_spacing = 0.2
|
dots_spacing = 0.2
|
||||||
dots_center = true
|
dots_center = true
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"; //
|
||||||
spawn-at-startup "~/.config/niri/waybar"
|
spawn-at-startup "~/.config/niri/waybar"
|
||||||
spawn-at-startup "dunst";
|
spawn-at-startup "dunst";
|
||||||
spawn-at-startup "xwayland-satellite"; // TODO: remove in next update
|
spawn-at-startup "xwayland-satellite"; // TODO: remove in next update
|
||||||
spawn-at-startup "hypridle";
|
spawn-at-startup "hypridle" "-c" "/home/olex/.config/niri/hypridle.conf";
|
||||||
// }}}
|
// }}}
|
||||||
// env {{{
|
// env {{{
|
||||||
environment {
|
environment {
|
||||||
|
|
|
||||||
19
config/niri/hypridle.conf
Normal file
19
config/niri/hypridle.conf
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
general {
|
||||||
|
lock_cmd = hyprlock
|
||||||
|
}
|
||||||
|
|
||||||
|
listener { # screen lock
|
||||||
|
timeout = 210
|
||||||
|
on-timeout = loginctl lock-session
|
||||||
|
}
|
||||||
|
|
||||||
|
listener { # turn off screens
|
||||||
|
timeout = 230
|
||||||
|
on-timeout = niri msg action power-off-monitors
|
||||||
|
on-resume = niri msg action power-on-monitors
|
||||||
|
}
|
||||||
|
|
||||||
|
listener { # suspend
|
||||||
|
timeout = 500
|
||||||
|
on-timeout = systemctl suspend
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue