From 197c6421794c0808838325c43f5c8365466894c2 Mon Sep 17 00:00:00 2001 From: Yahya Wessam Date: Tue, 31 Oct 2023 19:33:06 +0200 Subject: [PATCH] fix: A serious perfomance issue Making both the setbg script of hyprv_util and waybar as exec will make them always start another process and thus, that will lead to reduced perfomance Changing them to exec-once will not make another process start, and fret not, my testing shows that changing set custom backgrouds still work and changing hyprv versions also work --- HyprV/hypr/hyprland.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HyprV/hypr/hyprland.conf b/HyprV/hypr/hyprland.conf index c645a905..ea7cd0ac 100644 --- a/HyprV/hypr/hyprland.conf +++ b/HyprV/hypr/hyprland.conf @@ -17,12 +17,12 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = swww init -exec = waybar +exec-once = waybar exec-once = mako exec-once = blueman-applet exec-once = nm-applet --indicator exec-once = wl-paste --watch cliphist store -exec = ~/.config/HyprV/hyprv_util setbg +exec-once = ~/.config/HyprV/hyprv_util setbg # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input {