styles swaylock

This commit is contained in:
2025-06-23 22:16:50 +02:00
parent 9110ba0736
commit ac24355f28
3 changed files with 22 additions and 2 deletions

View File

@@ -145,6 +145,7 @@
- { src: 'hypr-keys.sh.j2', dest: 'hypr-keys.sh' } - { src: 'hypr-keys.sh.j2', dest: 'hypr-keys.sh' }
- { src: 'launch-wofi.sh.j2', dest: 'launch_wofi.sh' } - { src: 'launch-wofi.sh.j2', dest: 'launch_wofi.sh' }
- { src: 'launch-wifi-menu.sh.j2', dest: 'launch-wifi-menu.sh' } - { src: 'launch-wifi-menu.sh.j2', dest: 'launch-wifi-menu.sh' }
- { src: 'lock-screen.sh.j2', dest: 'lock-screen.sh' }
- name: "TEMA :: Installer Atlantis skrifttype" - name: "TEMA :: Installer Atlantis skrifttype"
ansible.builtin.copy: ansible.builtin.copy:

View File

@@ -11,7 +11,7 @@ exec-once = swayidle -w \
timeout 300 'hyprctl dispatch dpms off' \ timeout 300 'hyprctl dispatch dpms off' \
resume 'hyprctl dispatch dpms on' \ resume 'hyprctl dispatch dpms on' \
timeout 600 'systemctl suspend' \ timeout 600 'systemctl suspend' \
before-sleep 'swaylock -f' before-sleep '/home/{{ username }}/.local/bin/lock-screen.sh'
# --------------------------------------------------- # ---------------------------------------------------
@@ -167,4 +167,4 @@ bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
# Lock Screen # Lock Screen
bind = $mainMod, L, exec, swaylock -f --screenshots --clock --indicator --effect-blur 7x5 --effect-vignette 0.5:0.5 --ring-color 89b4fa --key-hl-color 00aaff --text-color ffffff bind = $mainMod, L, exec, /home/{{ username }}/.local/bin/lock-screen.sh

View File

@@ -0,0 +1,19 @@
#!/bin/bash
# Script til at starte swaylock med et "Stargate Atlantis" tema
swaylock \
--screenshots \
--clock \
--indicator \
--indicator-radius 100 \
--indicator-thickness 7 \
--effect-blur 7x5 \
--effect-vignette 0.5:0.5 \
--ring-color 00aaff \
--key-hl-color 89b4fa \
--line-color 00000000 \
--inside-color 00000088 \
--separator-color 00000000 \
--text-color cdd6f4 \
--font "JetBrains Mono Nerd Font"