dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

dunstrc (10830B)


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