power menu, redshift, polybar

This commit is contained in:
azpsen
2024-01-28 16:37:10 -06:00
parent 89516a6ce1
commit 319b44ecbd
307 changed files with 7642 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
# Script: dunst-snooze
A script to disable/enable Dunst notifications. When disabled, notifications will still be created and saved by dunst until you enable it again.
![dunst-pause](screenshots/1.png)
![dunst-pause](screenshots/2.png)
## Module
```ini
[module/dunst-snooze]
type = custom/script
exec = ~/polybar-scripts/dunst-snooze.sh
interval = 10
click-left = ~/polybar-scripts/dunst-snooze.sh --toggle &
```

View File

@@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
--toggle)
dunstctl set-paused toggle
;;
*)
if [ "$(dunstctl is-paused)" = "true" ]; then
echo "#1"
else
echo "#2"
fi
;;
esac

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 955 B