From a48796371bef13fc7689bd71d8202da2d62c91b2 Mon Sep 17 00:00:00 2001 From: piotr Date: Fri, 17 Nov 2023 02:54:18 +0100 Subject: [PATCH] reorder autostart --- nwg_shell_config/main_hyprland.py | 6 +++--- nwg_shell_config/main_sway.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nwg_shell_config/main_hyprland.py b/nwg_shell_config/main_hyprland.py index 2009553..f10e9b7 100644 --- a/nwg_shell_config/main_hyprland.py +++ b/nwg_shell_config/main_hyprland.py @@ -723,9 +723,6 @@ def save_includes(): if settings["appindicator"]: includes.append("exec-once = nm-applet --indicator") - if settings["screenshot"]: - includes.append("exec = nwg-screenshot-applet") - if cmd_launcher_autostart: includes.append(cmd_launcher_autostart) @@ -766,6 +763,9 @@ def save_includes(): if settings["update-indicator-on"]: includes.append("exec-once = nwg-update-indicator") + if settings["screenshot"]: + includes.append("exec = nwg-screenshot-applet") + if settings["show-on-startup"]: includes.append("exec-once = nwg-shell-config") diff --git a/nwg_shell_config/main_sway.py b/nwg_shell_config/main_sway.py index 480c3f2..87e1dad 100644 --- a/nwg_shell_config/main_sway.py +++ b/nwg_shell_config/main_sway.py @@ -694,9 +694,6 @@ def save_includes(): if settings["appindicator"]: autostart.append("exec nm-applet --indicator") - if settings["screenshot"]: - autostart.append("exec_always nwg-screenshot-applet") - if settings["autotiling-on"]: cmd_autotiling = "exec_always nwg-autotiling" @@ -744,6 +741,9 @@ def save_includes(): if settings["update-indicator-on"]: autostart.append("exec nwg-update-indicator") + if settings["screenshot"]: + autostart.append("exec_always nwg-screenshot-applet") + if settings["show-on-startup"]: autostart.append("exec nwg-shell-config")