all repos

dotfiles @ 1278966

i use rach linux btw
2 files changed, 55 insertions(+), 1 deletions(-)
hypr: setup swaylock
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-01-15 13:12:41 +0200
Parent: d0ed79b
M config/hypr/hyprland.conf
···
        14
        14
         exec-once = blueman-applet

      
        15
        15
         exec-once = ~/.config/hypr/xdg-portal.sh

      
        16
        16
         exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

      
        17
        
        -exec-once = exec-once = swayidle timeout 120 "hyprctl dispatcher dpms off && swaylock"

      
        
        17
        +exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

      
        
        18
        +exec-once = swayidle -w timeout 120 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'

      
        18
        19
         # }}}

      
        19
        20
         ## inputs {{{

      
        20
        21
         input {

      ···
        133
        134
         

      
        134
        135
           bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images

      
        135
        136
           bind = $mod SHIFT, Escape, exec, ~/bin/wofi-power-menu

      
        
        137
        +

      
        
        138
        +  bind = $mod CTRL, l, exec, swaylock

      
        136
        139
         

      
        137
        140
           bind = $mod, f, fullscreen

      
        138
        141
           bind = $mod Ctrl, f, togglefloating

      
A config/swaylock/config
···
        
        1
        +ignore-empty-password

      
        
        2
        +font=Ubuntu

      
        
        3
        +

      
        
        4
        +clock

      
        
        5
        +timestr=%R

      
        
        6
        +datestr=%a, %e of %B

      
        
        7
        +

      
        
        8
        +screenshots

      
        
        9
        +

      
        
        10
        +fade-in=0.2

      
        
        11
        +

      
        
        12
        +effect-blur=20x2

      
        
        13
        +#effect-greyscale

      
        
        14
        +effect-scale=0.3

      
        
        15
        +

      
        
        16
        +indicator

      
        
        17
        +indicator-radius=240

      
        
        18
        +indicator-thickness=20

      
        
        19
        +indicator-caps-lock

      
        
        20
        +

      
        
        21
        +key-hl-color=880033

      
        
        22
        +

      
        
        23
        +separator-color=00000000

      
        
        24
        +

      
        
        25
        +inside-color=00000099

      
        
        26
        +inside-clear-color=ffd20400

      
        
        27
        +inside-caps-lock-color=009ddc00

      
        
        28
        +inside-ver-color=d9d8d800

      
        
        29
        +inside-wrong-color=ee2e2400

      
        
        30
        +

      
        
        31
        +ring-color=231f20D9

      
        
        32
        +ring-clear-color=231f20D9

      
        
        33
        +ring-caps-lock-color=231f20D9

      
        
        34
        +ring-ver-color=231f20D9

      
        
        35
        +ring-wrong-color=231f20D9

      
        
        36
        +

      
        
        37
        +line-color=00000000

      
        
        38
        +line-clear-color=ffd204FF

      
        
        39
        +line-caps-lock-color=009ddcFF

      
        
        40
        +line-ver-color=d9d8d8FF

      
        
        41
        +line-wrong-color=ee2e24FF

      
        
        42
        +

      
        
        43
        +text-clear-color=ffd20400

      
        
        44
        +text-ver-color=d9d8d800

      
        
        45
        +text-wrong-color=ee2e2400

      
        
        46
        +

      
        
        47
        +bs-hl-color=ee2e24FF

      
        
        48
        +caps-lock-key-hl-color=ffd204FF

      
        
        49
        +caps-lock-bs-hl-color=ee2e24FF

      
        
        50
        +disable-caps-lock-text

      
        
        51
        +text-caps-lock-color=009ddc