Handy dot files with sensible bindings and settings
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
826 B

#!/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"
pkill dunst
DUNST_FILE=~/.config/dunst/dunstrc
# update dunst based on pywal colors.
#sed -i '/background = /s/.*/ background = "$color0"/' $DUNST_FILE
#sed -i '/foreground = /s/.*/ foreground = "'$color7'"/' $DUNST_FILE
sed -i '/frame_color = /s/.*/ frame_color = "'$color2'"/' $DUNST_FILE
sleep 0.3
dunst -config ~/.config/dunst/dunstrc > /dev/null 2>&1 &