1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

updated dunstrc

This commit is contained in:
Ryan Kes 2020-02-10 21:25:11 +01:00
parent d407a81ac7
commit 76189d8ad6
3 changed files with 23 additions and 173 deletions

2
.gitignore vendored
View File

@ -12,8 +12,6 @@ mpd/.config/mpd/sticker.sql
vifm/.config/vifm/vifm-help.txt vifm/.config/vifm/vifm-help.txt
vifm/.config/vifm/vifminfo vifm/.config/vifm/vifminfo
dunst/.config/dunst/dunstrc
newsboat/.newsboat/cache.db newsboat/.newsboat/cache.db
newsboat/.newsboat/cache.db.lock newsboat/.newsboat/cache.db.lock
newsboat/.newsboat/history.cmdline newsboat/.newsboat/history.cmdline

View File

@ -1,16 +1,16 @@
[global] [global]
monitor = 0 monitor = 0
follow = keyboard follow = keyboard
geometry = "600x5-30+30" geometry = "0x0-30+20"
indicate_hidden = yes indicate_hidden = yes
shrink = yes shrink = no
transparency = 20 transparency = 0
notification_height = 0 notification_height = 0
separator_height = 2 separator_height = 2
padding = 0 padding = 0
horizontal_padding = 8 horizontal_padding = 8
frame_width = 3 frame_width = 3
frame_color = "#d5c4a1" frame_color = "#aaaaaa"
# Define a color for the separator. # Define a color for the separator.
# possible values are: # possible values are:
@ -24,7 +24,7 @@
sort = yes sort = yes
idle_threshold = 120 idle_threshold = 120
font = SauceCodePro Nerd Font:style=Regular:pixelsize=12:antialias=true:autohint=true font = JetBrainsMono Font Medium 10
line_height = 0 line_height = 0
markup = full markup = full
@ -41,21 +41,21 @@
# Markup is allowed # Markup is allowed
format = "<b>%s</b>\n%b" format = "<b>%s</b>\n%b"
alignment = left alignment = center
show_age_threshold = 60 show_age_threshold = 60
word_wrap = yes word_wrap = yes
ellipsize = middle ellipsize = middle
ignore_newline = no ignore_newline = no
stack_duplicates = true stack_duplicates = true
hide_duplicate_count = true hide_duplicate_count = false
show_indicators = yes show_indicators = yes
icon_position = left icon_position = left
max_icon_size = 40 max_icon_size = 32
#icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/ icon_path = /usr/share/icons/Papirus-Dark/24x24/panel/:/usr/share/icons/Papirus-Dark/24x24/devices/:/usr/share/icons/Papirus-Dark/24x24/apps:/usr/share/icons/Papirus-Dark/24x24/actions
sticky_history = yes sticky_history = yes
history_length = 20 history_length = 20
dmenu = dmenu -p dunst: dmenu = dmenu -p dunst:
browser = firefox -new-tab browser = /usr/local/bin/brave
# Always run rule-defined scripts, even if the notification is suppressed # Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true always_run_script = true
@ -63,6 +63,7 @@
title = Dunst title = Dunst
class = Dunst class = Dunst
startup_notification = false startup_notification = false
corner_radius = 5
force_xinerama = false force_xinerama = false
[experimental] [experimental]
per_monitor_dpi = false per_monitor_dpi = false
@ -87,7 +88,8 @@
# script appname summary body icon urgency # script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL". # where urgency can be "LOW", "NORMAL" or "CRITICAL".
# #
# NOTE: if you don't want a notification to be displayed, set the format # NOTE: if you don't want a notification
# to be displayed, set the format
# to "". # to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order # NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules. # to find fitting options for rules.
@ -132,17 +134,15 @@
# #
# vim: ft=cfg # vim: ft=cfg
[base16_low] [urgency_low]
msg_urgency = low background = "#2b2b2b"
background = "#3c3836" foreground = "#ffffff"
foreground = "#665c54"
[base16_normal] [urgency_normal]
msg_urgency = normal background = "#2b2b2b"
background = "#504945" foreground = "#ffffff"
foreground = "#d5c4a1"
[base16_critical] [urgency_critical]
msg_urgency = critical background = "#900000"
background = "#fb4934" foreground = "#ffffff"
foreground = "#ebdbb2" frame_color = "#ff0000"

View File

@ -1,148 +0,0 @@
[global]
monitor = 0
follow = keyboard
geometry = "600x5-30+30"
indicate_hidden = yes
shrink = yes
transparency = 20
notification_height = 0
separator_height = 2
padding = 0
horizontal_padding = 8
frame_width = 3
frame_color = "#d5c4a1"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency.
sort = yes
idle_threshold = 120
font = SauceCodePro Nerd Font:style=Regular:pixelsize=12:antialias=true:autohint=true
line_height = 0
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
alignment = left
show_age_threshold = 60
word_wrap = yes
ellipsize = middle
ignore_newline = no
stack_duplicates = true
hide_duplicate_count = true
show_indicators = yes
icon_position = left
max_icon_size = 40
#icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/
sticky_history = yes
history_length = 20
dmenu = dmenu -p dunst:
browser = firefox -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
title = Dunst
class = Dunst
startup_notification = false
force_xinerama = false
[experimental]
per_monitor_dpi = false
[shortcuts]
close = ctrl+space
close_all = ctrl+shift+space
history = ctrl+grave
context = ctrl+shift+period
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
# Messages can be matched by "appname", "summary", "body", "icon", "category",
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
# "background", "new_icon" and "format".
# Shell-like globbing will get expanded.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
# vim: ft=cfg
[base16_low]
msg_urgency = low
background = "#3c3836"
foreground = "#665c54"
[base16_normal]
msg_urgency = normal
background = "#504945"
foreground = "#d5c4a1"
[base16_critical]
msg_urgency = critical
background = "#fb4934"
foreground = "#ebdbb2"