1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00
Files
linux-nixos-hyprland-config…/home/.config/fish/functions/check_recording.fish
2023-09-28 03:29:43 +03:00

7 lines
203 B
Fish

function check_recording
set target_process "wf-recorder"
if pgrep $target_process > /dev/null
echo "{\"text\":\"\", \"tooltip\":\"Recording\", \"alt\":\"Recording\"}"
end
end