Browse Source

small adjustment on dunst

pull/48/head
JaKooLit 2 years ago
parent
commit
5004a2b8cf
  1. 14
      config/dunst/dunstrc
  2. 4
      config/hypr/scripts/DarkLight.sh

14
config/dunst/dunstrc

@ -70,7 +70,7 @@
frame_width = 2 frame_width = 2
# Defines color of the frame around the notification window. # Defines color of the frame around the notification window.
frame_color = "#7F8153" frame_color = "#3C27C7"
# Define a color for the separator. # Define a color for the separator.
# possible values are: # possible values are:
@ -282,24 +282,24 @@
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "#00000080" background = "#00000080"
foreground = "#FFFFFF90" foreground = "#fafafa"
frame_color = "#7F8153" frame_color = "#3C27C7"
timeout = 2 timeout = 2
# Icon for notifications with low urgency, uncomment to enable # Icon for notifications with low urgency, uncomment to enable
icon = $HOME/.config/dunst/images/bell.png icon = $HOME/.config/dunst/images/bell.png
[urgency_normal] [urgency_normal]
background = "#00000080" background = "#00000080"
foreground = "#FFFFFF90" foreground = "#fafafa"
frame_color = "#7F8153" frame_color = "#3C27C7"
timeout = 5 timeout = 5
# Icon for notifications with normal urgency, uncomment to enable # Icon for notifications with normal urgency, uncomment to enable
icon = $HOME/.config/dunst/images/bell.png icon = $HOME/.config/dunst/images/bell.png
[urgency_critical] [urgency_critical]
background = "#00000080" background = "#00000080"
foreground = "#FFFFFF90" foreground = "#fafafa"
frame_color = "#7F8153" frame_color = "#3C27C7"
timeout = 0 timeout = 0
# Icon for notifications with critical urgency, uncomment to enable # Icon for notifications with critical urgency, uncomment to enable
icon = $HOME/.config/dunst/images/bell.png icon = $HOME/.config/dunst/images/bell.png

4
config/hypr/scripts/DarkLight.sh

@ -47,10 +47,10 @@ notify_user "$next_mode"
# Change background for dunst # Change background for dunst
if [ "$next_mode" = "dark" ]; then if [ "$next_mode" = "dark" ]; then
sed -i '/background = /s/.*/ background = "#00000080"/' "${dunst_config}/dunstrc" sed -i '/background = /s/.*/ background = "#00000080"/' "${dunst_config}/dunstrc"
sed -i '/foreground = /s/.*/ foreground = "#FFFFFF90"/' "${dunst_config}/dunstrc" sed -i '/foreground = /s/.*/ foreground = "#fafafa"/' "${dunst_config}/dunstrc"
else else
sed -i '/background = /s/.*/ background = "#FFFFFF80"/' "${dunst_config}/dunstrc" sed -i '/background = /s/.*/ background = "#FFFFFF80"/' "${dunst_config}/dunstrc"
sed -i '/foreground = /s/.*/ foreground = "#00000090"/' "${dunst_config}/dunstrc" sed -i '/foreground = /s/.*/ foreground = "#00000095"/' "${dunst_config}/dunstrc"
fi fi
# Symlink for rofi theme # Symlink for rofi theme

Loading…
Cancel
Save