-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
77 lines (64 loc) · 1.72 KB
/
Copy pathTaskfile.yaml
File metadata and controls
77 lines (64 loc) · 1.72 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: '3'
vars:
EXTENSION_UUID: sage-window-manager@github.ryantam626
EXTENSION_DIR: "{{.HOME}}/.local/share/gnome-shell/extensions/{{.EXTENSION_UUID}}"
SOURCE_DIR: "{{.PWD}}"
tasks:
symlink:
desc: Install extension via symlink (best for development)
cmds:
- rm -rf "{{.EXTENSION_DIR}}"
- ln -s "{{.SOURCE_DIR}}" "{{.EXTENSION_DIR}}"
- echo "🔗 Extension symlinked from {{.SOURCE_DIR}} to {{.EXTENSION_DIR}}"
enable:
desc: Enable extension
cmds:
- gnome-extensions enable "{{.EXTENSION_UUID}}"
- echo "🟢 Extension enabled"
disable:
desc: Disable extension
cmds:
- gnome-extensions disable "{{.EXTENSION_UUID}}"
- echo "🔴 Extension disabled"
reload:
desc: Reload extension (disable and enable)
cmds:
- task: disable
- sleep 0.5
- task: enable
- echo "🔄 Extension reloaded"
status:
desc: Show extension status
cmds:
- gnome-extensions info "{{.EXTENSION_UUID}}" || echo "❌ Extension not found"
logs:
desc: Watch GNOME Shell logs
cmds:
- journalctl -f -o cat /usr/bin/gnome-shell
glib-compile-schemas:
desc: Compile GSettings schemas
cmds:
- glib-compile-schemas schemas
dev-setup:
desc: Setup development environment (symlink + enable)
cmds:
- task: symlink
- task: enable
- echo "🚀 Development environment ready!"
# Aliases for common workflows
dev:
desc: "Alias for dev-setup"
cmds:
- task: dev-setup
r:
desc: "Alias for reload"
cmds:
- task: reload
s:
desc: "Alias for status"
cmds:
- task: status
shell:dev:
desc: "Get a development shell"
cmds:
- nix develop --command zsh