mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
first commit
This commit is contained in:
7
home/.config/fish/functions/check_recording.fish
Normal file
7
home/.config/fish/functions/check_recording.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function check_recording
|
||||
set target_process "wf-recorder"
|
||||
|
||||
if pgrep $target_process > /dev/null
|
||||
echo "{\"text\":\"\", \"tooltip\":\"Recording\", \"alt\":\"Recording\"}"
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user