fix(waybar): Use SCRIPT_DIR envvar
This commit is contained in:
parent
411590d12c
commit
d94e6ebf1d
1 changed files with 6 additions and 6 deletions
|
|
@ -122,10 +122,10 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/toggle-light-dark": {
|
"custom/toggle-light-dark": {
|
||||||
"exec": "bash ~/projects/sisyphus/scripts/toggle-light-dark.sh -g",
|
"exec": "bash ${SCRIPT_DIR}/toggle-light-dark.sh -g",
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"on-click": "bash ~/projects/sisyphus/scripts/toggle-light-dark.sh",
|
"on-click": "bash ${SCRIPT_DIR}/toggle-light-dark.sh",
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"default": "\uf185",
|
"default": "\uf185",
|
||||||
|
|
@ -135,10 +135,10 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/toggle-notifications": {
|
"custom/toggle-notifications": {
|
||||||
"exec": "bash ~/projects/sisyphus/scripts/toggle-notifications.sh -g",
|
"exec": "bash ${SCRIPT_DIR}/toggle-notifications.sh -g",
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"on-click": "bash ~/projects/sisyphus/scripts/toggle-notifications.sh",
|
"on-click": "bash ${SCRIPT_DIR}/toggle-notifications.sh",
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"normal": "\uf0f3", /* */
|
"normal": "\uf0f3", /* */
|
||||||
|
|
@ -148,10 +148,10 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/toggle-tailscale": {
|
"custom/toggle-tailscale": {
|
||||||
"exec": "bash ~/projects/sisyphus/scripts/toggle-tailscale.sh -g",
|
"exec": "bash ${SCRIPT_DIR}/toggle-tailscale.sh -g",
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"on-click": "bash ~/projects/sisyphus/scripts/toggle-tailscale.sh",
|
"on-click": "bash ${SCRIPT_DIR}/toggle-tailscale.sh",
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"disconnected": "\ue50b",
|
"disconnected": "\ue50b",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue