dotfiles

custom dotfiles
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

dunstrc (10760B)


      1 # ░█▀▄░█░█░█▀█░█▀▀░▀█▀░░
      2 # ░█░█░█░█░█░█░▀▀█░░█░░░
      3 # ░▀▀░░▀▀▀░▀░▀░▀▀▀░░▀░░░
      4 
      5 [global]
      6     ### Display ###
      7 
      8     # Which monitor should the notifications be displayed on.
      9     monitor = 0
     10 
     11     # Display notification on focused monitor.  Possible modes are:
     12     #   mouse: follow mouse pointer
     13     #   keyboard: follow window with keyboard focus
     14     #   none: don't follow anything
     15     #
     16     # "keyboard" needs a window manager that exports the
     17     # _NET_ACTIVE_WINDOW property.
     18     # This should be the case for almost all modern window managers.
     19     #
     20     # If this option is set to mouse or keyboard, the monitor option
     21     # will be ignored.
     22     follow = none
     23 
     24     # The geometry of the window:
     25     #   [{width}]x{height}[+/-{x}+/-{y}]
     26     # The geometry of the message window.
     27     # The height is measured in number of notifications everything else
     28     # in pixels.  If the width is omitted but the height is given
     29     # ("-geometry x2"), the message window expands over the whole screen
     30     # (dmenu-like).  If width is 0, the window expands to the longest
     31     # message displayed.  A positive x is measured from the left, a
     32     # negative from the right side of the screen.  Y is measured from
     33     # the top and down respectively.
     34     # The width can be negative.  In this case the actual width is the
     35     # screen width minus the width defined in within the geometry option.
     36     geometry = "300x5+810+100"
     37 
     38     # Show how many messages are currently hidden (because of geometry).
     39     indicate_hidden = yes
     40 
     41     # Shrink window if it's smaller than the width.  Will be ignored if
     42     # width is 0.
     43     shrink = no
     44 
     45     # The transparency of the window.  Range: [0; 100].
     46     # This option will only work if a compositing window manager is
     47     # present (e.g. xcompmgr, compiz, etc.).
     48     transparency = 0
     49 
     50     # The height of the entire notification.  If the height is smaller
     51     # than the font height and padding combined, it will be raised
     52     # to the font height and padding.
     53     notification_height = 0
     54 
     55     # Draw a line of "separator_height" pixel height between two
     56     # notifications.
     57     # Set to 0 to disable.
     58     separator_height = 3
     59 
     60     # Padding between text and separator.
     61     padding = 8
     62 
     63     # Horizontal padding.
     64     horizontal_padding = 8
     65 
     66     # Defines width in pixels of frame around the notification window.
     67     # Set to 0 to disable.
     68     frame_width = 3
     69 
     70     # Defines color of the frame around the notification window.
     71     frame_color = "#deb14f"
     72 
     73     # Define a color for the separator.
     74     # possible values are:
     75     #  * auto: dunst tries to find a color fitting to the background;
     76     #  * foreground: use the same color as the foreground;
     77     #  * frame: use the same color as the frame;
     78     #  * anything else will be interpreted as a X color.
     79     separator_color = "#3d3a3b"
     80 
     81     # Sort messages by urgency.
     82     sort = yes
     83 
     84     # Don't remove messages, if the user is idle (no mouse or keyboard input)
     85     # for longer than idle_threshold seconds.
     86     # Set to 0 to disable.
     87     # Transient notifications ignore this setting.
     88     idle_threshold = 120
     89 
     90     ### Text ###
     91 
     92     font = saxMono 9
     93 
     94     # The spacing between lines.  If the height is smaller than the
     95     # font height, it will get raised to the font height.
     96     line_height = 0
     97 
     98     # Possible values are:
     99     # full: Allow a small subset of html markup in notifications:
    100     #        <b>bold</b>
    101     #        <i>italic</i>
    102     #        <s>strikethrough</s>
    103     #        <u>underline</u>
    104     #
    105     #        For a complete reference see
    106     #        <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
    107     #
    108     # strip: This setting is provided for compatibility with some broken
    109     #        clients that send markup even though it's not enabled on the
    110     #        server. Dunst will try to strip the markup but the parsing is
    111     #        simplistic so using this option outside of matching rules for
    112     #        specific applications *IS GREATLY DISCOURAGED*.
    113     #
    114     # no:    Disable markup parsing, incoming notifications will be treated as
    115     #        plain text. Dunst will not advertise that it has the body-markup
    116     #        capability if this is set as a global setting.
    117     #
    118     # It's important to note that markup inside the format option will be parsed
    119     # regardless of what this is set to.
    120     markup = full
    121 
    122     # The format of the message.  Possible variables are:
    123     #   %a  appname
    124     #   %s  summary
    125     #   %b  body
    126     #   %i  iconname (including its path)
    127     #   %I  iconname (without its path)
    128     #   %p  progress value if set ([  0%] to [100%]) or nothing
    129     #   %n  progress value if set without any extra characters
    130     #   %%  Literal %
    131     # Markup is allowed
    132     format = "<b>%s</b>\n%b"
    133 
    134     # Alignment of message text.
    135     # Possible values are "left", "center" and "right".
    136     alignment = left
    137 
    138     # Show age of message if message is older than show_age_threshold
    139     # seconds.
    140     # Set to -1 to disable.
    141     show_age_threshold = 60
    142 
    143     # Split notifications into multiple lines if they don't fit into
    144     # geometry.
    145     word_wrap = yes
    146 
    147     # When word_wrap is set to no, specify where to ellipsize long lines.
    148     # Possible values are "start", "middle" and "end".
    149     ellipsize = middle
    150 
    151     # Ignore newlines '\n' in notifications.
    152     ignore_newline = no
    153 
    154     # Merge multiple notifications with the same content
    155     stack_duplicates = true
    156 
    157     # Hide the count of merged notifications with the same content
    158     hide_duplicate_count = false
    159 
    160     # Display indicators for URLs (U) and actions (A).
    161     show_indicators = yes
    162 
    163     ### Icons ###
    164 
    165     # Align icons left/right/off
    166     icon_position = off
    167 
    168     # Scale larger icons down to this size, set to 0 to disable
    169     max_icon_size = 32
    170 
    171     # Paths to default icons.
    172     icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
    173 
    174     ### History ###
    175 
    176     # Should a notification popped up from history be sticky or timeout
    177     # as if it would normally do.
    178     sticky_history = yes
    179 
    180     # Maximum amount of notifications kept in history
    181     history_length = 20
    182 
    183     ### Misc/Advanced ###
    184 
    185     # dmenu path.
    186     dmenu = /usr/bin/dmenu -p dunst:
    187 
    188     # Browser for opening urls in context menu.
    189     browser = /usr/bin/firefox -new-tab
    190 
    191     # Always run rule-defined scripts, even if the notification is suppressed
    192     always_run_script = true
    193 
    194     # Define the title of the windows spawned by dunst
    195     title = Dunst
    196 
    197     # Define the class of the windows spawned by dunst
    198     class = Dunst
    199 
    200     # Print a notification on startup.
    201     # This is mainly for error detection, since dbus (re-)starts dunst
    202     # automatically after a crash.
    203     startup_notification = false
    204 
    205     ### Legacy
    206 
    207     # Use the Xinerama extension instead of RandR for multi-monitor support.
    208     # This setting is provided for compatibility with older nVidia drivers that
    209     # do not support RandR and using it on systems that support RandR is highly
    210     # discouraged.
    211     #
    212     # By enabling this setting dunst will not be able to detect when a monitor
    213     # is connected or disconnected which might break follow mode if the screen
    214     # layout changes.
    215     force_xinerama = false
    216 
    217 # Experimental features that may or may not work correctly. Do not expect them
    218 # to have a consistent behaviour across releases.
    219 [experimental]
    220     # Calculate the dpi to use on a per-monitor basis.
    221     # If this setting is enabled the Xft.dpi value will be ignored and instead
    222     # dunst will attempt to calculate an appropriate dpi value for each monitor
    223     # using the resolution and physical size. This might be useful in setups
    224     # where there are multiple screens with very different dpi values.
    225     per_monitor_dpi = false
    226 
    227 [shortcuts]
    228 
    229     # Shortcuts are specified as [modifier+][modifier+]...key
    230     # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
    231     # "mod3" and "mod4" (windows-key).
    232     # Xev might be helpful to find names for keys.
    233 
    234     # Close notification.
    235     close = ctrl+space
    236 
    237     # Close all notifications.
    238     close_all = ctrl+shift+space
    239 
    240     # Redisplay last message(s).
    241     # On the US keyboard layout "grave" is normally above TAB and left
    242     # of "1". Make sure this key actually exists on your keyboard layout,
    243     # e.g. check output of 'xmodmap -pke'
    244     #history = ctrl+grave
    245 
    246     # Context menu.
    247     context = ctrl+shift+period
    248 
    249 [urgency_low]
    250     # IMPORTANT: colors have to be defined in quotation marks.
    251     # Otherwise the "#" and following would be interpreted as a comment.
    252     background = "#3d3a3b"
    253     foreground = "#baba9e"
    254 	frame_color = "#2b2b2d"
    255     timeout = 10
    256     # Icon for notifications with low urgency, uncomment to enable
    257     #icon = /path/to/icon
    258 
    259 [urgency_normal]
    260     background = "#2b2b2d"
    261     foreground = "#bbbbbb"
    262     timeout = 10
    263     # Icon for notifications with normal urgency, uncomment to enable
    264     #icon = /path/to/icon
    265 
    266 [urgency_critical]
    267     background = "#883c43"
    268     foreground = "#bbbbbb"
    269 	frame_color = "#bb6767"
    270     timeout = 0
    271     # Icon for notifications with critical urgency, uncomment to enable
    272     #icon = /path/to/icon
    273 
    274 # Every section that isn't one of the above is interpreted as a rules to
    275 # override settings for certain messages.
    276 # Messages can be matched by "appname", "summary", "body", "icon", "category",
    277 # "msg_urgency" and you can override the "timeout", "urgency", "foreground",
    278 # "background", "new_icon" and "format".
    279 # Shell-like globbing will get expanded.
    280 #
    281 # SCRIPTING
    282 # You can specify a script that gets run when the rule matches by
    283 # setting the "script" option.
    284 # The script will be called as follows:
    285 #   script appname summary body icon urgency
    286 # where urgency can be "LOW", "NORMAL" or "CRITICAL".
    287 #
    288 # NOTE: if you don't want a notification to be displayed, set the format
    289 # to "".
    290 # NOTE: It might be helpful to run dunst -print in a terminal in order
    291 # to find fitting options for rules.
    292 
    293 #[espeak]
    294 #    summary = "*"
    295 #    script = dunst_espeak.sh
    296 
    297 #[script-test]
    298 #    summary = "*script*"
    299 #    script = dunst_test.sh
    300 
    301 #[ignore]
    302 #    # This notification will not be displayed
    303 #    summary = "foobar"
    304 #    format = ""
    305 
    306 #[history-ignore]
    307 #    # This notification will not be saved in history
    308 #    summary = "foobar"
    309 #    history_ignore = yes
    310 
    311 #[signed_on]
    312 #    appname = Pidgin
    313 #    summary = "*signed on*"
    314 #    urgency = low
    315 #
    316 #[signed_off]
    317 #    appname = Pidgin
    318 #    summary = *signed off*
    319 #    urgency = low
    320 #
    321 #[says]
    322 #    appname = Pidgin
    323 #    summary = *says*
    324 #    urgency = critical
    325 #
    326 #[twitter]
    327 #    appname = Pidgin
    328 #    summary = *twitter.com*
    329 #    urgency = normal
    330 #
    331 # vim: ft=cfg