summaryrefslogtreecommitdiff
path: root/toggles/sysmon.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-10 20:40:06 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-10 20:40:06 +1100
commitbe2f1567f0a2848ce2f18b4f34ed5e4cf83141fd (patch)
treed80001d03df80d029105274b35d521b76600d0ff /toggles/sysmon.fish
parentscheme: smart sort by hsl (diff)
downloadcaelestia-cli-be2f1567f0a2848ce2f18b4f34ed5e4cf83141fd.tar.gz
caelestia-cli-be2f1567f0a2848ce2f18b4f34ed5e4cf83141fd.tar.bz2
caelestia-cli-be2f1567f0a2848ce2f18b4f34ed5e4cf83141fd.zip
foot: update install and sysmon toggle
Use the foot-exec cmd so it has the colours
Diffstat (limited to 'toggles/sysmon.fish')
-rwxr-xr-xtoggles/sysmon.fish3
1 files changed, 2 insertions, 1 deletions
diff --git a/toggles/sysmon.fish b/toggles/sysmon.fish
index 2fd7b6c..84b8d4c 100755
--- a/toggles/sysmon.fish
+++ b/toggles/sysmon.fish
@@ -2,6 +2,7 @@
. (dirname (status filename))/util.fish
-spawn-client '.class == "btop" and .title == "btop" and .workspace.name == "special:sysmon"' foot -a 'btop' -T 'btop' btop
+command -v foot-exec &> /dev/null && set -l cmd foot-exec || set -l cmd foot
+spawn-client '.class == "btop" and .title == "btop" and .workspace.name == "special:sysmon"' $cmd -a 'btop' -T 'btop' -- btop
hyprctl dispatch togglespecialworkspace sysmon