diff --git a/configs/nixos/modules/desktop/utilities/recording.nix b/configs/nixos/modules/desktop/utilities/recording.nix index 8ded309..11b5455 100644 --- a/configs/nixos/modules/desktop/utilities/recording.nix +++ b/configs/nixos/modules/desktop/utilities/recording.nix @@ -7,8 +7,6 @@ }: # Keybound screen recording: pick a region, then toggle a video-only capture. let - recordingIcon = util.glyph "f03d"; - # A single key both starts and stops. # A running wf-recorder is stopped with SIGINT so it finalises the file. # Otherwise slurp picks a region and wf-recorder runs in the foreground until @@ -35,7 +33,7 @@ let # Empty text collapses the widget when idle, so it shows nothing until then. recordingStatus = pkgs.writeShellScript "waybar-recording-status" '' if ${lib.getExe' pkgs.procps "pgrep"} -x wf-recorder >/dev/null; then - printf '{"text":"${recordingIcon}","tooltip":"Recording","class":"recording"}\n' + printf '{"text":"${util.glyph "f03d"}","tooltip":"Recording","class":"recording"}\n' else printf '{"text":"","class":"idle"}\n' fi