diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-05-08 08:57:15 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-05-08 08:57:15 +0200 |
commit | 8aca8c547605f536bc295dd1941de1ccb05d7b2e (patch) | |
tree | d1ef1f0fd3f271b586f01567ef9065617dd83336 /launch-dunst | |
parent | af70c01c0e07289064b926374232add1ad90631b (diff) | |
download | scripts-8aca8c547605f536bc295dd1941de1ccb05d7b2e.tar.gz scripts-8aca8c547605f536bc295dd1941de1ccb05d7b2e.tar.bz2 scripts-8aca8c547605f536bc295dd1941de1ccb05d7b2e.zip |
added more scripts
Diffstat (limited to 'launch-dunst')
-rwxr-xr-x | launch-dunst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/launch-dunst b/launch-dunst new file mode 100755 index 0000000..4659fc3 --- /dev/null +++ b/launch-dunst @@ -0,0 +1,25 @@ +#!/bin/sh + +# -lf/nf/cf color +# Defines the foreground color for low, normal and critical notifications respectively. +# +# -lb/nb/cb color +# Defines the background color for low, normal and critical notifications respectively. +# +# -lfr/nfr/cfr color +# Defines the frame color for low, normal and critical notifications respectively. + +[ -f "$HOME/.cache/wal/colors.sh" ] && . "$HOME/.cache/wal/colors.sh" + +pidof dunst && killall dunst + +dunst -lf "${color0:-#ffffff}" \ + -lb "${color1:-#eeeeee}" \ + -lfr "${color2:-#dddddd}" \ + -nf "${color3:-#cccccc}" \ + -nb "${color4:-#bbbbbb}" \ + -nfr "${color5:-#aaaaaa}" \ + -cf "${color6:-#999999}" \ + -cb "${color7:-#888888}" \ + -cfr "${color8:-#777777}" > /dev/null 2>&1 & + |