Files
arthur-os/shell/scripts/indicators/notification-silencing.sh
T

9 lines
222 B
Bash
Executable File

#!/bin/bash
state=$(omarchy-shell notifications isDnd 2>/dev/null || echo off)
if [[ $state == "on" ]]; then
echo '{"text": "󰂛", "tooltip": "Notifications silenced", "class": "active"}'
else
echo '{"text": ""}'
fi