Browse Source

dunst with a more brighter text on dark mode

pull/53/head
JaKooLit 2 years ago
parent
commit
e5aaed6024
  1. 6
      config/dunst/dunstrc
  2. 2
      config/hypr/scripts/DarkLight.sh

6
config/dunst/dunstrc

@ -281,7 +281,7 @@
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#00000080"
background = "#00000095"
foreground = "#fafafa"
frame_color = "#3C27C7"
timeout = 2
@ -289,7 +289,7 @@
icon = $HOME/.config/dunst/images/bell.png
[urgency_normal]
background = "#00000080"
background = "#00000095"
foreground = "#fafafa"
frame_color = "#3C27C7"
timeout = 5
@ -297,7 +297,7 @@
icon = $HOME/.config/dunst/images/bell.png
[urgency_critical]
background = "#00000080"
background = "#00000095"
foreground = "#fafafa"
frame_color = "#3C27C7"
timeout = 0

2
config/hypr/scripts/DarkLight.sh

@ -46,7 +46,7 @@ notify_user "$next_mode"
# Change background for dunst
if [ "$next_mode" = "dark" ]; then
sed -i '/background = /s/.*/ background = "#00000080"/' "${dunst_config}/dunstrc"
sed -i '/background = /s/.*/ background = "#00000095"/' "${dunst_config}/dunstrc"
sed -i '/foreground = /s/.*/ foreground = "#fafafa"/' "${dunst_config}/dunstrc"
else
sed -i '/background = /s/.*/ background = "#FFFFFF80"/' "${dunst_config}/dunstrc"

Loading…
Cancel
Save