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:
parent
5f95f0ffba
commit
af0e27630f
4 changed files with 42 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue