From c80a54e42b52ce297f0f2f71af23c562832025c7 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 24 Jan 2025 20:35:27 +0900 Subject: init --- mac/.config/sketchybar/items/dnd.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mac/.config/sketchybar/items/dnd.sh (limited to 'mac/.config/sketchybar/items/dnd.sh') diff --git a/mac/.config/sketchybar/items/dnd.sh b/mac/.config/sketchybar/items/dnd.sh new file mode 100644 index 0000000..84eaf8c --- /dev/null +++ b/mac/.config/sketchybar/items/dnd.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +sketchybar \ + --add item dnd right \ + --set dnd script="$PLUGIN_DIR/dnd.sh" \ + label.drawing=off \ + --add event focus_on "_NSDoNotDisturbEnabledNotification" \ + --add event focus_off "_NSDoNotDisturbDisabledNotification" \ + --subscribe dnd focus_on focus_off mouse.clicked -- cgit v1.2.3