feat(hyprlua): hyprctl reload after saving monitor config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
Amir Alexander Abdelbaki 2026-06-23 09:56:19 +02:00
parent fc90432d22
commit 3388910bb0
1 changed files with 1 additions and 0 deletions

View File

@ -549,6 +549,7 @@ class App:
m.dirty = False m.dirty = False
self.dirty = False self.dirty = False
self.status_msg = f"Saved to {MONITORS_LUA.name}" self.status_msg = f"Saved to {MONITORS_LUA.name}"
subprocess.run(["hyprctl", "reload"], capture_output=True, check=False)
except Exception as e: except Exception as e:
self.status_msg = f"Save failed: {e}" self.status_msg = f"Save failed: {e}"