diff --git a/configs/nixos/modules/desktop/session/mako.nix b/configs/nixos/modules/desktop/session/mako.nix index 807b9a5..88c777b 100644 --- a/configs/nixos/modules/desktop/session/mako.nix +++ b/configs/nixos/modules/desktop/session/mako.nix @@ -8,9 +8,6 @@ let glyph = code: builtins.fromJSON ''"\u${code}"''; - # Renders mako's do-not-disturb mode for Waybar. - # With no mako daemon answering, the status reads "notifications on", keeping - # the widget inert rather than broken. dndStatus = pkgs.writeShellScript "waybar-dnd-status" '' if ${lib.getExe' pkgs.mako "makoctl"} mode 2>/dev/null | ${lib.getExe pkgs.gnugrep} -qx dnd; then printf '{"text":"${glyph "f1f6"}","tooltip":"Do not disturb: on","class":"dnd"}\n'