refactor: use systemd services instead of start script

This is probably what I should've done from the beginning, but I didn't
really know how `systemd` worked when I started writing this config.
This commit is contained in:
Kiana Sheibani 2024-10-15 03:30:13 -04:00
parent 5f95f0ffba
commit af0e27630f
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
4 changed files with 42 additions and 18 deletions

View file

@ -2,8 +2,8 @@
workspaces() {
hyprctl workspaces -j | jaq -c 'map({key: .id | tostring, value: .windows}) | from_entries
| . as $windows | [range(1;11) | {id: tostring, windows: $windows[tostring] // 0,
previous: $windows[.-1|tostring] // 0, next: $windows[.+1|tostring] // 0 }]'
| . as $windows | [range(1;11) | {id: tostring, windows: $windows[tostring] // 0,
previous: $windows[.-1|tostring] // 0, next: $windows[.+1|tostring] // 0}]'
}
workspaces