diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2024-02-04 18:15:29 -0500 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2024-02-04 18:15:29 -0500 |
commit | ed79e4736bdf3dbe65d4122b281b06d8d8151fd5 (patch) | |
tree | 6d68d0736a33e107818e90313a44fe6cde64b42b /modules/ryan-config | |
parent | b16b1b9db97107e52aeeb63540bd708b0fad2148 (diff) |
supressed suspend on laptop lid close or button push, added keybind for
sleep in hyprland config
Diffstat (limited to 'modules/ryan-config')
-rw-r--r-- | modules/ryan-config/base-system.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/ryan-config/base-system.scm b/modules/ryan-config/base-system.scm index ae5c1af..5bb7db9 100644 --- a/modules/ryan-config/base-system.scm +++ b/modules/ryan-config/base-system.scm | |||
@@ -201,6 +201,12 @@ | |||
201 | (inherit config) | 201 | (inherit config) |
202 | (rules (cons %backlight-udev-rule | 202 | (rules (cons %backlight-udev-rule |
203 | (udev-configuration-rules config))))) | 203 | (udev-configuration-rules config))))) |
204 | (elogind-service-type config => | ||
205 | (elogind-configuration | ||
206 | (inherit config) | ||
207 | (handle-power-key `ignore) | ||
208 | (handle-suspend-key `ignore) | ||
209 | (handle-lid-switch `ignore))) | ||
204 | (delete pulseaudio-service-type) | 210 | (delete pulseaudio-service-type) |
205 | (delete gdm-service-type) | 211 | (delete gdm-service-type) |
206 | (delete avahi-service-type) | 212 | (delete avahi-service-type) |