Added the ability to restart AGS on monitor connect or awake from sleep. (#432)

* Added the ability to restart AGS on monitor connect or awake from sleep.

* Made nix check more robust
This commit is contained in:
Jas Singh
2024-11-04 02:29:31 -08:00
committed by GitHub
parent c8e657f3f9
commit 155b9bb1f7
3 changed files with 65 additions and 2 deletions

View File

@@ -892,7 +892,7 @@ const options = mkOptions(OPTIONS, {
occupied: opt(''),
},
workspaceIconMap: opt<WorkspaceIcons | WorkspaceIconsColored>({}),
workspaces: opt(10),
workspaces: opt(5),
spacing: opt(1),
monitorSpecific: opt(true),
hideUnoccupied: opt(true),
@@ -1216,6 +1216,11 @@ const options = mkOptions(OPTIONS, {
clearDelay: opt(100),
},
hyprpanel: {
restartAgs: opt(true),
restartCommand: opt('ags -q; ags'),
},
dummy: opt(true),
});