launcherdunst.sh 810 B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. # -lf/nf/cf color
  3. # Defines the foreground color for low, normal and critical notifications respectively.
  4. #
  5. # -lb/nb/cb color
  6. # Defines the background color for low, normal and critical notifications respectively.
  7. #
  8. # -lfr/nfr/cfr color
  9. # Defines the frame color for low, normal and critical notifications respectively.
  10. [ -f "$HOME/.cache/wal/colors.sh" ] && . $HOME/.cache/wal/colors.sh
  11. pidof dunst && killall dunst
  12. dunst -lf "${color0:-#ffffff}" \
  13. -lb "${color1:-#eeeeee}" \
  14. -lfr "${color2:-#dddddd}" \
  15. -nf "${color3:-#cccccc}" \
  16. -nb "${color4:-#bbbbbb}" \
  17. -nfr "${color5:-#aaaaaa}" \
  18. -cf "${color6:-#999999}" \
  19. -cb "${color7:-#888888}" \
  20. -cfr "${color8:-#777777}" > /dev/null 2>&1 &