-
Notifications
You must be signed in to change notification settings - Fork 373
Closed
Description
If a line in the config file ends with a comment it is ignored. This is a regression from the last version I had of dunst, whatever that was (I'm on Arch Linux).
[urgency_normal]
background = "#0A0A0B" # BG
foreground = "#86ace1" # FG> dunst -- version
Dunst - A customizable and lightweight notification-daemon 1.4.0 (2019-03-30)
> dunst &
> notify-send test
WARNING: Invalid color string: '"#86ace1" # FG'
WARNING: Invalid color string: '"#0A0A0B" # BG'
WARNING: Invalid color string: '"#86ace1" # FG'
WARNING: Invalid color string: '"#0A0A0B" # BG'Visually dunst pops up with both the foreground and background color being black.
The reason this is causing me issues is that I have this tucked away in a script somewhere:
sed -i "s/^.*# BG/ background = \"$color0\" # BG/g;s/^.*# FG/ foreground = \"$foreground\" # FG/g;" ~/.config/dunst/dunstrcIE: It is useful to have those trailing comments there to be able to locate the lines with tools that only consider a single line at a time.
Reactions are currently unavailable