-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
41 lines (35 loc) · 1012 Bytes
/
Taskfile.yml
File metadata and controls
41 lines (35 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# https://taskfile.dev
version: "3"
tasks:
default:
deps: [update]
update:
desc: Update dotfiles.
cmds:
- git pull --ff-only
# Delete all symlinks. This deals with deleted config files.
# Symlink files managed in this repo.
- task: stow-all
- stow --target ~/bin --dir ~/code/user-land/ packaged
- stow --target ~/.local/bin --dir ~/code/volume-notify/ bin
- cd ~ && mise install
stow-all:
internal: true
vars:
STOW_PKGS:
sh: ls -I justfile -I Taskfile.yml -I Makefile -I installers
deps:
- for: { var: STOW_PKGS, split: "\n", as: PKG }
task: stow-dir
vars: { PKG: "{{.PKG}}" }
stow-dir:
internal: true
cmds:
- stow -R {{.PKG}}
systemctl:
desc: Update systemctl user services.
cmds:
- systemctl --user daemon-reload
- systemctl --user enable fusuma.service
- systemctl --user enable ulauncher.service
- systemctl --user enable gnome-keyring-daemon