foot: update install and sysmon toggle

Use the foot-exec cmd so it has the colours
This commit is contained in:
2 * r + 2 * t
2025-03-10 20:40:06 +11:00
parent 20892d9168
commit be2f1567f0
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -9,4 +9,6 @@ set -l dist $CONFIG/foot
update-repo foot $dist
sed -i 's|$SRC|'$dist'|g' $dist/foot.ini
install-link $dist/foot-exec.fish ~/.local/bin/foot-exec
log 'Done.'
+2 -1
View File
@@ -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