dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

dunstrc (7063B)


      1 [global]
      2 font = DejaVu Sans Mono 9
      3 
      4 # Allow a small subset of html markup:
      5 #   <b>bold</b>
      6 #   <i>italic</i>
      7 #   <s>strikethrough</s>
      8 #   <u>underline</u>
      9 #
     10 # For a complete reference see
     11 # <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
     12 # If markup is not allowed, those tags will be stripped out of the
     13 # message.
     14 markup = yes
     15 plain_text = no
     16 
     17 # The format of the message.  Possible variables are:
     18 #   %a  appname
     19 #   %s  summary
     20 #   %b  body
     21 #   %i  iconname (including its path)
     22 #   %I  iconname (without its path)
     23 #   %p  progress value if set ([  0%] to [100%]) or nothing
     24 # Markup is allowed
     25 format = "<b>%s</b>\n%b"
     26 
     27 # Sort messages by urgency.
     28 sort = no
     29 
     30 # Show how many messages are currently hidden (because of geometry).
     31 indicate_hidden = yes
     32 
     33 # Alignment of message text.
     34 # Possible values are "left", "center" and "right".
     35 alignment = center
     36 
     37 # The frequency with wich text that is longer than the notification
     38 # window allows bounces back and forth.
     39 # This option conflicts with "word_wrap".
     40 # Set to 0 to disable.
     41 bounce_freq = 0
     42 
     43 # Show age of message if message is older than show_age_threshold
     44 # seconds.
     45 # Set to -1 to disable.
     46 show_age_threshold = -1
     47 
     48 # Split notifications into multiple lines if they don't fit into
     49 # geometry.
     50 word_wrap = yes
     51 
     52 # Ignore newlines '\n' in notifications.
     53 ignore_newline = no
     54 
     55 # Hide duplicate's count and stack them
     56 stack_duplicates = yes
     57 hide_duplicates_count = yes
     58 
     59 
     60 # The geometry of the window:
     61 #   [{width}]x{height}[+/-{x}+/-{y}]
     62 # The geometry of the message window.
     63 # The height is measured in number of notifications everything else
     64 # in pixels.  If the width is omitted but the height is given
     65 # ("-geometry x2"), the message window expands over the whole screen
     66 # (dmenu-like).  If width is 0, the window expands to the longest
     67 # message displayed.  A positive x is measured from the left, a
     68 # negative from the right side of the screen.  Y is measured from
     69 # the top and down respectevly.
     70 # The width can be negative.  In this case the actual width is the
     71 # screen width minus the width defined in within the geometry option.
     72 #geometry = "250x50-40+40"
     73 geometry = "300x50-15+49"
     74 
     75 # Shrink window if it's smaller than the width.  Will be ignored if
     76 # width is 0.
     77 shrink = no
     78 
     79 # The transparency of the window.  Range: [0; 100].
     80 # This option will only work if a compositing windowmanager is
     81 # present (e.g. xcompmgr, compiz, etc.).
     82 transparency = 5
     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 idle_threshold = 0
     88 
     89 # Which monitor should the notifications be displayed on.
     90 monitor = 0
     91 
     92 # Display notification on focused monitor.  Possible modes are:
     93 #   mouse: follow mouse pointer
     94 #   keyboard: follow window with keyboard focus
     95 #   none: don't follow anything
     96 #
     97 # "keyboard" needs a windowmanager that exports the
     98 # _NET_ACTIVE_WINDOW property.
     99 # This should be the case for almost all modern windowmanagers.
    100 #
    101 # If this option is set to mouse or keyboard, the monitor option
    102 # will be ignored.
    103 follow = none
    104 
    105 # Should a notification popped up from history be sticky or timeout
    106 # as if it would normally do.
    107 sticky_history = yes
    108 
    109 # Maximum amount of notifications kept in history
    110 history_length = 15
    111 
    112 # Display indicators for URLs (U) and actions (A).
    113 show_indicators = no
    114 
    115 # The height of a single line.  If the height is smaller than the
    116 # font height, it will get raised to the font height.
    117 # This adds empty space above and under the text.
    118 line_height = 3
    119 
    120 # Draw a line of "separatpr_height" pixel height between two
    121 # notifications.
    122 # Set to 0 to disable.
    123 separator_height = 2
    124 
    125 # Padding between text and separator.
    126 padding = 6
    127 
    128 # Horizontal padding.
    129 horizontal_padding = 6
    130 
    131 # Define a color for the separator.
    132 # possible values are:
    133 #  * auto: dunst tries to find a color fitting to the background;
    134 #  * foreground: use the same color as the foreground;
    135 #  * frame: use the same color as the frame;
    136 #  * anything else will be interpreted as a X color.
    137 separator_color = frame
    138 
    139 # Print a notification on startup.
    140 # This is mainly for error detection, since dbus (re-)starts dunst
    141 # automatically after a crash.
    142 startup_notification = false
    143 
    144 # dmenu path.
    145 dmenu = /usr/bin/dmenu -p dunst:
    146 
    147 # Browser for opening urls in context menu.
    148 browser = /usr/bin/firefox -new-tab
    149 
    150 # Align icons left/right/off
    151 icon_position = off
    152 max_icon_size = 80
    153 
    154 # Paths to default icons.
    155 icon_path = /usr/share/icons/gnome/16x16/mimetypes/:/usr/share/icons/gnome/48x48/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/gnome/48x48/notifications/:/usr/share/icons/gnome/48x48/emblems/
    156 
    157 frame_width = 3
    158 frame_color = "#8EC07C"
    159 
    160 [shortcuts]
    161 
    162 # Shortcuts are specified as [modifier+][modifier+]...key
    163 # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
    164 # "mod3" and "mod4" (windows-key).
    165 # Xev might be helpful to find names for keys.
    166 
    167 # Close notification.
    168 close = ctrl+space
    169 
    170 # Close all notifications.
    171 close_all = ctrl+shift+space
    172 
    173 # Redisplay last message(s).
    174 # On the US keyboard layout "grave" is normally above TAB and left
    175 # of "1".
    176 history = ctrl+grave
    177 
    178 # Context menu.
    179 context = ctrl+shift+period
    180 
    181 [urgency_low]
    182 # IMPORTANT: colors have to be defined in quotation marks.
    183 # Otherwise the "#" and following would be interpreted as a comment.
    184 frame_color = "#3B7C87"
    185 foreground = "#3B7C87"
    186 background = "#191311"
    187 #background = "#2B313C"
    188 timeout = 4
    189 
    190 [urgency_normal]
    191 frame_color = "#5B8234"
    192 foreground = "#5B8234"
    193 background = "#191311"
    194 #background = "#2B313C"
    195 timeout = 6
    196 
    197 [urgency_critical]
    198 frame_color = "#B7472A"
    199 foreground = "#B7472A"
    200 background = "#191311"
    201 #background = "#2B313C"
    202 timeout = 8
    203 
    204 
    205 # Every section that isn't one of the above is interpreted as a rules to
    206 # override settings for certain messages.
    207 # Messages can be matched by "appname", "summary", "body", "icon", "category",
    208 # "msg_urgency" and you can override the "timeout", "urgency", "foreground",
    209 # "background", "new_icon" and "format".
    210 # Shell-like globbing will get expanded.
    211 #
    212 # SCRIPTING
    213 # You can specify a script that gets run when the rule matches by
    214 # setting the "script" option.
    215 # The script will be called as follows:
    216 #   script appname summary body icon urgency
    217 # where urgency can be "LOW", "NORMAL" or "CRITICAL".
    218 #
    219 # NOTE: if you don't want a notification to be displayed, set the format
    220 # to "".
    221 # NOTE: It might be helpful to run dunst -print in a terminal in order
    222 # to find fitting options for rules.
    223 
    224 #[espeak]
    225 #    summary = "*"
    226 #    script = dunst_espeak.sh
    227 
    228 #[script-test]
    229 #    summary = "*script*"
    230 #    script = dunst_test.sh
    231 
    232 #[ignore]
    233 #    # This notification will not be displayed
    234 #    summary = "foobar"
    235 #    format = ""
    236 
    237 #[signed_on]
    238 #    appname = Pidgin
    239 #    summary = "*signed on*"
    240 #    urgency = low
    241 #
    242 #[signed_off]
    243 #    appname = Pidgin
    244 #    summary = *signed off*
    245 #    urgency = low
    246 #
    247 #[says]
    248 #    appname = Pidgin
    249 #    summary = *says*
    250 #    urgency = critical
    251 #
    252 #[twitter]
    253 #    appname = Pidgin
    254 #    summary = *twitter.com*
    255 #    urgency = normal
    256 #
    257 # vim: ft=cfg