scripts reorganize

This commit is contained in:
djaidjai committed 2026-10-06 22:34:05 +02:00
1 parent a2a056a68d
commit 0734bee219
60 files changed
+824 -5

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# toggles dunstctl + sends a message (thru dounst ironically)
lvl=$(dunstctl get-pause-level)
send_msg() {
dunstify -u low \
-a Backlight \
-r 92 \
-i ~/.icons/candy-icons/apps/scalable/cliq.svg \
"Toggled dunst $1"
}
if [[ $lvl == "0" ]]; then
# dunst is currently enabled; send message first then disable
dunstctl close-all
# send_msg "off"
# sleep 2
dunstctl set-paused toggle
else
# dunst is currently disabled; enable then send message
dunstctl set-paused toggle
# send_msg "on"
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.