openbsd-dotfiles

Base configurations for my Openbsd desktop
git clone https://git.kausban.com/openbsd-dotfiles/raw/.git
Log | Files | Refs

dunstrc (4023B)


      1 [global]
      2     monitor = 0
      3     follow = keyboard
      4     geometry = "350x5+0-23"
      5     indicate_hidden = yes
      6     shrink = no
      7     transparency = 20
      8     notification_height = 0
      9     separator_height = 2
     10     padding = 0
     11     horizontal_padding = 8
     12     frame_width = 0
     13     frame_color = "#444444" #"#282828"
     14 
     15     # Define a color for the separator.
     16     # possible values are:
     17     #  * auto: dunst tries to find a color fitting to the background;
     18     #  * foreground: use the same color as the foreground;
     19     #  * frame: use the same color as the frame;
     20     #  * anything else will be interpreted as a X color.
     21     separator_color = frame
     22 
     23     # Sort messages by urgency.
     24     sort = yes
     25 
     26     idle_threshold = 120
     27     font = Monospace 8
     28     line_height = 0
     29     markup = full
     30 
     31     # The format of the message.  Possible variables are:
     32     #   %a  appname
     33     #   %s  summary
     34     #   %b  body
     35     #   %i  iconname (including its path)
     36     #   %I  iconname (without its path)
     37     #   %p  progress value if set ([  0%] to [100%]) or nothing
     38     #   %n  progress value if set without any extra characters
     39     #   %%  Literal %
     40     # Markup is allowed
     41     format = "<b>%s</b>\n%b"
     42 
     43     alignment = left
     44     show_age_threshold = 60
     45     word_wrap = yes
     46     ellipsize = middle
     47     ignore_newline = no
     48     stack_duplicates = true
     49     hide_duplicate_count = true
     50     show_indicators = yes
     51     icon_position = left
     52     max_icon_size = 40
     53     icon_path = /usr/local/share/icons/gnome/16x16/status/:/usr/local/share/icons/gnome/16x16/devices/:/usr/local/share/icons/Adwaita/256x256/status/
     54     sticky_history = yes
     55     history_length = 20
     56     dmenu = /usr/local/bin/dmenu -p dunst:
     57     browser = /usr/local/bin/firefox -new-tab
     58 
     59     # Always run rule-defined scripts, even if the notification is suppressed
     60     always_run_script = true
     61 
     62     title = Dunst
     63     class = Dunst
     64     startup_notification = false
     65     force_xinerama = false
     66 [experimental]
     67     per_monitor_dpi = false
     68 
     69 [urgency_low]
     70     # IMPORTANT: colors have to be defined in quotation marks.
     71     # Otherwise the "#" and following would be interpreted as a comment.
     72     background = "#222222"#"#282828"
     73     foreground = "#bbbbbb"#"#928374"
     74     timeout = 5
     75     # Icon for notifications with low urgency, uncomment to enable
     76     #icon = /path/to/icon
     77 
     78 [urgency_normal]
     79     background = "#222222"#"#458588"
     80     foreground = "#bbbbbb"#"#ebdbb2"
     81     timeout = 5
     82 
     83 [urgency_critical]
     84     background = "#005577"#"#cc2421"
     85     foreground = "#bbbbbb#"#ebdbb2"
     86     frame_color = "#fabd2f"
     87     timeout = 0
     88 
     89 # Every section that isn't one of the above is interpreted as a rules to
     90 # override settings for certain messages.
     91 # Messages can be matched by "appname", "summary", "body", "icon", "category",
     92 # "msg_urgency" and you can override the "timeout", "urgency", "foreground",
     93 # "background", "new_icon" and "format".
     94 # Shell-like globbing will get expanded.
     95 #
     96 # SCRIPTING
     97 # You can specify a script that gets run when the rule matches by
     98 # setting the "script" option.
     99 # The script will be called as follows:
    100 #   script appname summary body icon urgency
    101 # where urgency can be "LOW", "NORMAL" or "CRITICAL".
    102 #
    103 # NOTE: if you don't want a notification to be displayed, set the format
    104 # to "".
    105 # NOTE: It might be helpful to run dunst -print in a terminal in order
    106 # to find fitting options for rules.
    107 
    108 #[espeak]
    109 #    summary = "*"
    110 #    script = dunst_espeak.sh
    111 
    112 #[script-test]
    113 #    summary = "*script*"
    114 #    script = dunst_test.sh
    115 
    116 #[ignore]
    117 #    # This notification will not be displayed
    118 #    summary = "foobar"
    119 #    format = ""
    120 
    121 #[history-ignore]
    122 #    # This notification will not be saved in history
    123 #    summary = "foobar"
    124 #    history_ignore = yes
    125 
    126 #[signed_on]
    127 #    appname = Pidgin
    128 #    summary = "*signed on*"
    129 #    urgency = low
    130 #
    131 #[signed_off]
    132 #    appname = Pidgin
    133 #    summary = *signed off*
    134 #    urgency = low
    135 #
    136 #[says]
    137 #    appname = Pidgin
    138 #    summary = *says*
    139 #    urgency = critical
    140 #
    141 #[twitter]
    142 #    appname = Pidgin
    143 #    summary = *twitter.com*
    144 #    urgency = normal
    145 #
    146 # vim: ft=cfg