Tilføjet lock screen

This commit is contained in:
2025-06-23 19:29:05 +02:00
parent 25f5c2a880
commit 65f401e67f
2 changed files with 11 additions and 1 deletions

View File

@@ -90,6 +90,8 @@
- wireplumber - wireplumber
- alsa-utils - alsa-utils
- neofetch - neofetch
- swayidle
- swaylock-effects
- ufw # Firewall - ufw # Firewall
state: present state: present

View File

@@ -7,6 +7,11 @@
exec-once = waybar & exec-once = waybar &
exec-once = hyprpaper & exec-once = hyprpaper &
exec-once = /usr/lib/polkit-kde-authentication-agent-1 & exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
exec-once = swayidle -w \
timeout 300 'hyprctl dispatch dpms off' \
resume 'hyprctl dispatch dpms on' \
timeout 600 'systemctl suspend' \
before-sleep 'swaylock-effects -f'
# --------------------------------------------------- # ---------------------------------------------------
@@ -160,3 +165,6 @@ bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
# Microphone mute # Microphone mute
bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
# Lock Screen
bind = $mainMod, L, exec, swaylock-effects -f --screenshots --clock --indicator --effect-blur 7x5 --effect-vignette 0.5:0.5 --ring-color 89b4fa --key-hl-color 00aaff --text-color ffffff