diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-10 10:06:05 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-10 10:06:05 +0100 |
| commit | b5654d5ad7642d755ce7054ffbc281b0bc84c505 (patch) | |
| tree | a8de9a55ea68b49acbdae1226221126089204001 /desktop/modules/git/gitcfg | |
| parent | 57813295282ea5c67ee5c8c7dc49640e2c7224bf (diff) | |
| download | quickshell-b5654d5ad7642d755ce7054ffbc281b0bc84c505.tar.gz quickshell-b5654d5ad7642d755ce7054ffbc281b0bc84c505.zip | |
fix(autostart): add entries to the start hook, not the last end)
Autostart.add inserted before the file's last `end)`. Since
autostart.lua gained a hyprland.shutdown hook after the start hook, a
command added from the Autostart page landed in the shutdown hook and
would have run at logout instead of login. It now inserts before the
`end)` that closes `hl.on("hyprland.start", ...)`, and returns null when
there is no start hook. The test covers a file with both hooks; it fails
on the old code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/git/gitcfg')
0 files changed, 0 insertions, 0 deletions
