styles swaylock
This commit is contained in:
@@ -145,6 +145,7 @@
|
||||
- { src: 'hypr-keys.sh.j2', dest: 'hypr-keys.sh' }
|
||||
- { src: 'launch-wofi.sh.j2', dest: 'launch_wofi.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"
|
||||
ansible.builtin.copy:
|
||||
|
||||
@@ -11,7 +11,7 @@ exec-once = swayidle -w \
|
||||
timeout 300 'hyprctl dispatch dpms off' \
|
||||
resume 'hyprctl dispatch dpms on' \
|
||||
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
|
||||
|
||||
# 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
|
||||
19
templates/lock-screen.sh.j2
Normal file
19
templates/lock-screen.sh.j2
Normal 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"
|
||||
Reference in New Issue
Block a user