feat(hyprlua): hyprctl reload after saving monitor config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
fc90432d22
commit
3388910bb0
|
|
@ -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}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue