mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Fix hypridle+hyprlock issue on nvidia
This commit is contained in:
parent
7990389ddb
commit
981792d7ef
3 changed files with 5 additions and 3 deletions
|
|
@ -62,8 +62,8 @@
|
|||
bindrl = SUPER CONTROL, Q, exit,
|
||||
bindrl = SUPER CONTROL, P, exec, poweroff
|
||||
bindrl = SUPER CONTROL, R, exec, reboot
|
||||
bindrl = SUPER CONTROL, S, exec, sleep 1 && systemctl suspend
|
||||
bindl = , switch:on:Lid Switch, exec, systemctl suspend
|
||||
bindrl = SUPER CONTROL, S, exec, loginctl lock-session && sleep 1 && systemctl suspend
|
||||
bindl = , switch:on:Lid Switch, exec, loginctl lock-session && sleep 1 && systemctl suspend
|
||||
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
|
||||
bindrl = SUPER CONTROL, B, exec, sleep 1 && hyprctl dispatch dpms off
|
||||
bind = SUPER CONTROL, W, exec, pkill waybar && hyprctl dispatch exec waybar
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
hypridle-config = pkgs.writeText "hypridle-config" ''
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
listener {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
flags =
|
||||
let
|
||||
hyprlock-config = pkgs.writeText "hyprlock-config" ''
|
||||
general {
|
||||
no_fade_in = true
|
||||
}
|
||||
background {
|
||||
monitor =
|
||||
path = screenshot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue