mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
hypr: setup swaylock
This commit is contained in:
parent
d0ed79ba00
commit
12789668aa
2 changed files with 55 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
exec-once = blueman-applet
|
exec-once = blueman-applet
|
||||||
exec-once = ~/.config/hypr/xdg-portal.sh
|
exec-once = ~/.config/hypr/xdg-portal.sh
|
||||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
exec-once = exec-once = swayidle timeout 120 "hyprctl dispatcher dpms off && swaylock"
|
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
exec-once = swayidle -w timeout 120 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'
|
||||||
# }}}
|
# }}}
|
||||||
## inputs {{{
|
## inputs {{{
|
||||||
input {
|
input {
|
||||||
|
|
@ -134,6 +135,8 @@ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||||
bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images
|
bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images
|
||||||
bind = $mod SHIFT, Escape, exec, ~/bin/wofi-power-menu
|
bind = $mod SHIFT, Escape, exec, ~/bin/wofi-power-menu
|
||||||
|
|
||||||
|
bind = $mod CTRL, l, exec, swaylock
|
||||||
|
|
||||||
bind = $mod, f, fullscreen
|
bind = $mod, f, fullscreen
|
||||||
bind = $mod Ctrl, f, togglefloating
|
bind = $mod Ctrl, f, togglefloating
|
||||||
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
|
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
|
||||||
|
|
|
||||||
51
config/swaylock/config
Normal file
51
config/swaylock/config
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
ignore-empty-password
|
||||||
|
font=Ubuntu
|
||||||
|
|
||||||
|
clock
|
||||||
|
timestr=%R
|
||||||
|
datestr=%a, %e of %B
|
||||||
|
|
||||||
|
screenshots
|
||||||
|
|
||||||
|
fade-in=0.2
|
||||||
|
|
||||||
|
effect-blur=20x2
|
||||||
|
#effect-greyscale
|
||||||
|
effect-scale=0.3
|
||||||
|
|
||||||
|
indicator
|
||||||
|
indicator-radius=240
|
||||||
|
indicator-thickness=20
|
||||||
|
indicator-caps-lock
|
||||||
|
|
||||||
|
key-hl-color=880033
|
||||||
|
|
||||||
|
separator-color=00000000
|
||||||
|
|
||||||
|
inside-color=00000099
|
||||||
|
inside-clear-color=ffd20400
|
||||||
|
inside-caps-lock-color=009ddc00
|
||||||
|
inside-ver-color=d9d8d800
|
||||||
|
inside-wrong-color=ee2e2400
|
||||||
|
|
||||||
|
ring-color=231f20D9
|
||||||
|
ring-clear-color=231f20D9
|
||||||
|
ring-caps-lock-color=231f20D9
|
||||||
|
ring-ver-color=231f20D9
|
||||||
|
ring-wrong-color=231f20D9
|
||||||
|
|
||||||
|
line-color=00000000
|
||||||
|
line-clear-color=ffd204FF
|
||||||
|
line-caps-lock-color=009ddcFF
|
||||||
|
line-ver-color=d9d8d8FF
|
||||||
|
line-wrong-color=ee2e24FF
|
||||||
|
|
||||||
|
text-clear-color=ffd20400
|
||||||
|
text-ver-color=d9d8d800
|
||||||
|
text-wrong-color=ee2e2400
|
||||||
|
|
||||||
|
bs-hl-color=ee2e24FF
|
||||||
|
caps-lock-key-hl-color=ffd204FF
|
||||||
|
caps-lock-bs-hl-color=ee2e24FF
|
||||||
|
disable-caps-lock-text
|
||||||
|
text-caps-lock-color=009ddc
|
||||||
Loading…
Add table
Add a link
Reference in a new issue