From be2f1567f0a2848ce2f18b4f34ed5e4cf83141fd Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 10 Mar 2025 20:40:06 +1100 Subject: foot: update install and sysmon toggle Use the foot-exec cmd so it has the colours --- toggles/sysmon.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toggles') 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 -- cgit v1.2.3-freya