diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-30 20:37:06 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-30 20:37:06 +0100 |
| commit | 3c747053dd140ba4f2d53155939e4a895ec8c6e9 (patch) | |
| tree | 98dd0c938d45ab0ba1aaba0b66c861c7ce585b4c /desktop/shell.qml | |
| parent | 29d0c022b1557cef6b93efbc76734b816b92f62e (diff) | |
| download | quickshell-3c747053dd140ba4f2d53155939e4a895ec8c6e9.tar.gz quickshell-3c747053dd140ba4f2d53155939e4a895ec8c6e9.zip | |
monitors: settings module, try live then keep or revert
Apply evals each monitor's hl.monitor line, one call each because eval
wraps its argument in a return. Keep writes sections/monitors.lua whole;
Revert or 15s without an answer is hyprctl reload, which reapplies the
untouched file. A refusal also reloads, since an earlier monitor's eval
may have gone through.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/shell.qml')
| -rw-r--r-- | desktop/shell.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/shell.qml b/desktop/shell.qml index d1dc7dc..660c4a5 100644 --- a/desktop/shell.qml +++ b/desktop/shell.qml @@ -31,6 +31,7 @@ import "modules/git" import "modules/hyprland" import "modules/kdeconnect" import "modules/mail" +import "modules/monitors" import "modules/network" import "modules/notes" import "modules/notifications" @@ -97,6 +98,7 @@ ShellRoot { ShellsModule {}, BindsModule {}, OptionsModule {}, + MonitorsModule {}, ObsScenesModule {}, AssistantModule { id: asstSettings }, PresetsModule {}, |
