diff --git a/dunstrc b/dunstrc index 61e8a68..d5d2943 100644 --- a/dunstrc +++ b/dunstrc @@ -17,19 +17,21 @@ # will be ignored. follow = keyboard - # The geometry of the window: - # [{width}]x{height}[+/-{x}+/-{y}] - # The geometry of the message window. - # The height is measured in number of notifications everything else - # in pixels. If the width is omitted but the height is given - # ("-geometry x2"), the message window expands over the whole screen - # (dmenu-like). If width is 0, the window expands to the longest - # message displayed. A positive x is measured from the left, a - # negative from the right side of the screen. Y is measured from - # the top and down respectively. - # The width can be negative. In this case the actual width is the - # screen width minus the width defined in within the geometry option. - geometry = "500x5" + # Window width in pixels. Set to 0 to match the longest message. + width = 400 + + # Minimum and maximum notification height in pixels. + # A value of 0 for the minimum lets dunst grow to fit the font. + height = (0, 800) + + # Position notifications in the top-right corner of the screen. + origin = top-right + + # Offset from the origin in pixels. + offset = (4, 4) + + # Maximum number of notifications shown at once. + notification_limit = 10 # Show how many messages are currently hidden (because of geometry). indicate_hidden = yes @@ -41,23 +43,18 @@ # The transparency of the window. Range: [0; 100]. # This option will only work if a compositing window manager is # present (e.g. xcompmgr, compiz, etc.). - transparency = 0 - - # The height of the entire notification. If the height is smaller - # than the font height and padding combined, it will be raised - # to the font height and padding. - notification_height = 0 + transparency = 5 # Draw a line of "separator_height" pixel height between two # notifications. # Set to 0 to disable. - separator_height = 2 + separator_height = 1 # Padding between text and separator. - padding = 16 + padding = 32 # Horizontal padding. - horizontal_padding = 8 + horizontal_padding = 16 # Defines width in pixels of frame around the notification window. # Set to 0 to disable. @@ -86,11 +83,11 @@ ### Text ### - font = "SourceSerifPro" + font = "OCR A 10" # The spacing between lines. If the height is smaller than the # font height, it will get raised to the font height. - line_height = 0 + line_height = 2 # Possible values are: # full: Allow a small subset of html markup in notifications: @@ -194,26 +191,12 @@ # Define the class of the windows spawned by dunst class = Dunst - # Print a notification on startup. - # This is mainly for error detection, since dbus (re-)starts dunst - # automatically after a crash. - startup_notification = false - - # Manage dunst's desire for talking - # Can be one of the following values: - # crit: Critical features. Dunst aborts - # warn: Only non-fatal warnings - # mesg: Important Messages - # info: all unimportant stuff - # debug: all less than unimportant stuff - verbosity = mesg - # Define the corner radius of the notification window # in pixel size. If the radius is 0, you have no rounded # corners. # The radius will be automatically lowered if it exceeds half of the # notification height to avoid clipping text and/or icons. - corner_radius = 0 + corner_radius = 6 ### Legacy @@ -250,28 +233,6 @@ # where there are multiple screens with very different dpi values. per_monitor_dpi = false -[shortcuts] - - # Shortcuts are specified as [modifier+][modifier+]...key - # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", - # "mod3" and "mod4" (windows-key). - # Xev might be helpful to find names for keys. - - # Close notification. - close = ctrl+space - - # Close all notifications. - close_all = ctrl+shift+space - - # Redisplay last message(s). - # On the US keyboard layout "grave" is normally above TAB and left - # of "1". Make sure this key actually exists on your keyboard layout, - # e.g. check output of 'xmodmap -pke' - history = ctrl+grave - - # Context menu. - context = ctrl+shift+period - [urgency_low] # IMPORTANT: colors have to be defined in quotation marks. # Otherwise the "#" and following would be interpreted as a comment.