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")