generated from andy/linux-nixos-hyprland-config-dotfiles
8 lines
198 B
Fish
8 lines
198 B
Fish
function check_recording
|
|
set target_process wl-screenrec
|
|
|
|
if pgrep $target_process >/dev/null
|
|
echo "{\"text\":\"\", \"tooltip\":\"Recording\", \"alt\":\"Recording\"}"
|
|
end
|
|
end
|