fix swaylock #173

This commit is contained in:
end-4 2024-01-06 16:19:07 +07:00
parent 2ac5f01f83
commit 1ce492579b
2 changed files with 3 additions and 6 deletions

View file

@ -14,7 +14,7 @@ exec-once = fcitx5
exec-once = dbus-update-activation-environment --all &
exec-once = /usr/bin/gnome-keyring-daemon --start --components=secrets &
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
exec-once = swayidle -w timeout 300 'swaylock' &
exec-once = swayidle -w timeout 300 'swaylock -f' &
exec-once = swayidle -w timeout 450 'pidof java || systemctl suspend' &
exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Some fix idk
@ -24,8 +24,4 @@ exec-once = wl-paste --watch cliphist store &
# Cursor
exec-once = hyprctl setcursor Bibata-Modern-Classic 24
# Plugins
# are a good way to crash Hyprland
# so nothing here

View file

@ -1,5 +1,6 @@
daemonize
ignore-empty-password
font=sans-serif
font=Rubik
font-size=23
clock