diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index c360d4c..4b7ff46 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -14,7 +14,8 @@ exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = blueman-applet exec-once = ~/.config/hypr/xdg-portal.sh 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 {{{ input { @@ -134,6 +135,8 @@ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images bind = $mod SHIFT, Escape, exec, ~/bin/wofi-power-menu + bind = $mod CTRL, l, exec, swaylock + bind = $mod, f, fullscreen bind = $mod Ctrl, f, togglefloating bind = , Print, exec, grim -g "$(slurp)" - | wl-copy diff --git a/config/swaylock/config b/config/swaylock/config new file mode 100644 index 0000000..c626c30 --- /dev/null +++ b/config/swaylock/config @@ -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