mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
Minor refinements to dunst config
Change frame colour to the active Tempus themes' `backgroundalt` value. This makes the frame distinguishable. Remove transparency. Adds nothing other that annoyance. Notifications must always appear at the top right, without any noticeable offset (there still is a minor one to account for the size of the frame + 1).
This commit is contained in:
parent
b15d0cca15
commit
e97571fd17
|
|
@ -474,8 +474,8 @@ modify_dunst() {
|
|||
# Change {back,fore}ground value for urgency_low notifications
|
||||
# Change {back,fore}ground value for urgency_normal notifications
|
||||
# Change {back,fore}ground value for urgency_critical notifications
|
||||
sed --follow-symlinks -i "s/\(^separator_color.*\)\(#[0-9a-zA-Z]*\)/\1$backgroundalt/ ; \
|
||||
s/\(^frame_color.*\)\(#[0-9a-zA-Z]*\)/\1$background/ ; \
|
||||
sed --follow-symlinks -i "s/\(^separator_color.*\)\(#[0-9a-zA-Z]*\)/\1$backgrounddim/ ; \
|
||||
s/\(^frame_color.*\)\(#[0-9a-zA-Z]*\)/\1$backgroundalt/ ; \
|
||||
/urgency_low/,/timeout/ s/\(^b.*\)\(#[0-9a-zA-Z]*\)/\1$backgroundalt/ ; /urgency_low/,/timeout/ s/\(^f.*\)\(#[0-9a-zA-Z]*\)/\1$foregroundalt/ ; \
|
||||
/urgency_normal/,/timeout/ s/\(^b.*\)\(#[0-9a-zA-Z]*\)/\1$background/ ; /urgency_normal/,/timeout/ s/\(^f.*\)\(#[0-9a-zA-Z]*\)/\1$foreground/ ; \
|
||||
/urgency_critical/,/timeout/ s/\(^b.*\)\(#[0-9a-zA-Z]*\)/\1$color1/ ; /urgency_critical/,/timeout/ s/\(^f.*\)\(#[0-9a-zA-Z]*\)/\1$background/" "$dunstrc"
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
[global]
|
||||
font = "sans 10"
|
||||
frame_width = 1
|
||||
frame_color = "#232323"
|
||||
frame_width = 2
|
||||
frame_color = "#312e30"
|
||||
|
||||
# Possible values are:
|
||||
# full: Allow a small subset of html markup in notifications:
|
||||
|
|
@ -98,7 +98,7 @@ hide_duplicate_count = false
|
|||
# NOTE after reading the above, follow this if you want to center on
|
||||
# screen:
|
||||
# {( monitor width / 2 ) - ( notification width / 2)}
|
||||
geometry = "300x4-3+24"
|
||||
geometry = "300x4-3+3"
|
||||
|
||||
# Shrink window if it's smaller than the width. Will be ignored if
|
||||
# width is 0.
|
||||
|
|
@ -107,7 +107,7 @@ shrink = no
|
|||
# The transparency of the window. Range: [0; 100].
|
||||
# This option will only work if a compositing windowmanager is
|
||||
# present (e.g. xcompmgr, compiz, etc.).
|
||||
transparency = 10
|
||||
transparency = 0
|
||||
|
||||
# Don't remove messages, if the user is idle (no mouse or keyboard input)
|
||||
# for longer than idle_threshold seconds.
|
||||
|
|
@ -162,7 +162,7 @@ horizontal_padding = 10
|
|||
# * foreground: use the same color as the foreground;
|
||||
# * frame: use the same color as the frame;
|
||||
# * anything else will be interpreted as a X color.
|
||||
separator_color = "#312e30"
|
||||
separator_color = "#2a2829"
|
||||
|
||||
# Print a notification on startup.
|
||||
# This is mainly for error detection, since dbus (re-)starts dunst
|
||||
|
|
|
|||
Loading…
Reference in a new issue