Tilføjet lock screen
This commit is contained in:
@@ -90,6 +90,8 @@
|
|||||||
- wireplumber
|
- wireplumber
|
||||||
- alsa-utils
|
- alsa-utils
|
||||||
- neofetch
|
- neofetch
|
||||||
|
- swayidle
|
||||||
|
- swaylock-effects
|
||||||
- ufw # Firewall
|
- ufw # Firewall
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user