From 6acec8f463b9abb1e2732c6954047aa6d54efe91 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 30 Mar 2024 15:01:01 -0500 Subject: [PATCH] refactor(hypr): improve launching of `compositor.target` --- dots/.config/hypr/hyprland.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/hypr/hyprland.conf b/dots/.config/hypr/hyprland.conf index 66e95c7d..de41d14a 100644 --- a/dots/.config/hypr/hyprland.conf +++ b/dots/.config/hypr/hyprland.conf @@ -8,5 +8,5 @@ exec = systemd-run --user --unit=events-monitor ~/.config/hypr/scripts/launchers exec = systemd-run --user --unit=xwaylandvideobridge xwaylandvideobridge || systemctl --user restart xwaylandvideobridge exec = systemd-run --user --unit=polkit-agent /usr/lib/polkit-kde-authentication-agent-1 || systemctl --user restart polkit-agent exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP PATH -exec-once = systemctl --user start compositor.target +exec = sleep 1 && systemctl --user restart compositor.target exec-once = swaylock