diff options
-rw-r--r-- | home-config/hypr/hyprland.conf | 1 | ||||
-rw-r--r-- | modules/ryan-config/base-system.scm | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/home-config/hypr/hyprland.conf b/home-config/hypr/hyprland.conf index 98a9eef..0998980 100644 --- a/home-config/hypr/hyprland.conf +++ b/home-config/hypr/hyprland.conf | |||
@@ -189,6 +189,7 @@ bindm = $mainMod, mouse:273, resizewindow | |||
189 | 189 | ||
190 | # Bind mainMod + L to screenlocker | 190 | # Bind mainMod + L to screenlocker |
191 | bind = $mainMod, L, exec, swaylock --screenshots --clock --indicator --fade-in 0.3 --effect-blur 7x5 --effect-greyscale | 191 | bind = $mainMod, L, exec, swaylock --screenshots --clock --indicator --fade-in 0.3 --effect-blur 7x5 --effect-greyscale |
192 | bind = $mainMod SHIFT, L, exec, swaylock --screenshots --clock --indicator --effect-blur 7x5 --effect-greyscale & sleep 0.5; loginctl suspend | ||
192 | 193 | ||
193 | # Keybind for screenshot | 194 | # Keybind for screenshot |
194 | bind = $mainMod SHIFT, S, exec, grimblast copy area | 195 | bind = $mainMod SHIFT, S, exec, grimblast copy area |
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) |