nix-config/.config/wal/templates/dunstrc
Donovan Glover 9b9a7b1768
Switch from base16 to pywal
pywal (also known as wal) lets us change color schemes with a cache
directory instead of editing config files directly. This helps us
separate the dotfiles from the color schemes.

This commit removes explicit color settings from my dotfiles, which are
now managed by pywal. Dunst has been added to show any notifications
that I may want to use in the future. The colors.Xresources file is used
to prevent urxvt from using a depth of 32.

My custom colors.vim file has been removed in favor of wal.vim, which
solves some problems I had to manually resolve myself and should make
things easier to maintain in the long term.

Note that pywal also supports base16 color schemes, as well as any other
color scheme you can think of.
2018-10-12 23:13:15 -04:00

53 lines
1.3 KiB
Plaintext

[global]
# Make the width 3740 (3840 - 100), have 50 left margin and 95 above
geometry = "3740x5-50+95"
# Show multiple notifications in the same box
separator_height = 0
# Add vertical padding to the inside of the notification
padding = 24
# Add horizontal padding for when the text gets long enough
horizontal_padding = 24
# The frame color and width of the notification
frame_color = "{color4}"
frame_width = 6
# How long a user needs to be idle for sticky notifications
idle_threshold = 120
# Font and typography settings
font = Fira Mono 11
alignment = center
word_wrap = yes
# Format for how notifications will be displayed
# Usage: `notify-send 'Title' 'Summary'`
format = "<b>%s</b>: %b"
# Allow some HTML tags like <i> and <u> in notifications
markup = full
# These are the keybindings used to control dunst notifications
[shortcuts]
close = ctrl+space
close_all = ctrl+shift+space
history = ctrl+grave
# Set the background and foreground (text) color for all notifications
[urgency_low]
background = "{background}"
foreground = "{foreground}"
[urgency_normal]
background = "{background}"
foreground = "{foreground}"
[urgency_critical]
background = "{background}"
foreground = "{foreground}"
# vim:ft=cfg