aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-03-01 04:37:16 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-03-01 04:37:36 +0900
commit2123d712990c94bea39a2cf844dedc037fcf99a3 (patch)
tree3e5da1bf4c777a7d9b9d030af5960bf133857ab2
parent6bd487602ce6889e22cc3ceb9b6ae12be8a088e0 (diff)
dunst: Apply dracula theme
-rw-r--r--.config/dunst/dunstrc92
1 files changed, 26 insertions, 66 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc
index 7fb9923..f9033d1 100644
--- a/.config/dunst/dunstrc
+++ b/.config/dunst/dunstrc
@@ -29,24 +29,7 @@
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
- geometry = "300x5-30+20"
-
- # Turn on the progess bar
- progress_bar = true
-
- # Set the progress bar height. This includes the frame, so make sure
- # it's at least twice as big as the frame width.
- progress_bar_height = 10
-
- # Set the frame width of the progress bar
- progress_bar_frame_width = 1
-
- # Set the minimum width for the progress bar
- progress_bar_min_width = 150
-
- # Set the maximum width for the progress bar
- progress_bar_max_width = 300
-
+ geometry = "0x4-25+25"
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
@@ -58,7 +41,7 @@
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.).
- transparency = 0
+ transparency = 15
# The height of the entire notification. If the height is smaller
# than the font height and padding combined, it will be raised
@@ -68,23 +51,20 @@
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
- separator_height = 2
+ separator_height = 1
# Padding between text and separator.
padding = 8
# Horizontal padding.
- horizontal_padding = 8
-
- # Padding between text and icon.
- text_icon_padding = 0
+ horizontal_padding = 10
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
- frame_width = 3
+ frame_width = 0
# Defines color of the frame around the notification window.
- frame_color = "#aaaaaa"
+ frame_color = "#282a36"
# Define a color for the separator.
# possible values are:
@@ -106,7 +86,7 @@
### Text ###
- font = Monospace 8
+ font = Monospace 10
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
@@ -146,7 +126,7 @@
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
- format = "<b>%s</b>\n%b"
+ format = "%s %p\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
@@ -192,11 +172,10 @@
min_icon_size = 0
# Scale larger icons down to this size, set to 0 to disable
- max_icon_size = 32
+ max_icon_size = 64
# Paths to default icons.
- # echo ~/.guix-profile/share/icons/*/32x32/* | tr ' ' ':'
- icon_path = /home/masaya/.guix-profile/share/icons/gnome/32x32/actions:/home/masaya/.guix-profile/share/icons/gnome/32x32/animations:/home/masaya/.guix-profile/share/icons/gnome/32x32/apps:/home/masaya/.guix-profile/share/icons/gnome/32x32/categories:/home/masaya/.guix-profile/share/icons/gnome/32x32/devices:/home/masaya/.guix-profile/share/icons/gnome/32x32/emblems:/home/masaya/.guix-profile/share/icons/gnome/32x32/emotes:/home/masaya/.guix-profile/share/icons/gnome/32x32/mimetypes:/home/masaya/.guix-profile/share/icons/gnome/32x32/places:/home/masaya/.guix-profile/share/icons/gnome/32x32/status:/home/masaya/.guix-profile/share/icons/hicolor/32x32/apps
+ icon_path = /home/masaya/.guix-profile/share/icons/gnome/16x16/status/:/home/masaya/.guix-profile/share/icons/gnome/16x16/devices/
### History ###
@@ -205,15 +184,15 @@
sticky_history = yes
# Maximum amount of notifications kept in history
- history_length = 20
+ history_length = 2000
### Misc/Advanced ###
# dmenu path.
- dmenu = /usr/bin/dmenu -p dunst:
+ dmenu = /usr/bin/env -S dmenu -p dunst:
# Browser for opening urls in context menu.
- browser = /usr/bin/firefox -new-tab
+ browser = /usr/bin/env -S icecat -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
@@ -251,16 +230,6 @@
# user defined timeout.
ignore_dbusclose = false
- ### Wayland ###
- # These settings are Wayland-specific. They have no effect when using X11
-
- # Uncomment this if you want to let notications appear under fullscreen
- # applications (default: overlay)
- # layer = top
-
- # Set this to true to use X11 output on Wayland.
- force_xwayland = false
-
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
@@ -298,10 +267,6 @@
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
-# The internal keyboard shortcut support in dunst is now considered deprecated
-# and should be replaced by dunstctl calls. You can use the configuration of your
-# WM or DE to bind these to shortcuts of your choice.
-# Check the dunstctl manual page for more info.
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
@@ -309,45 +274,40 @@
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
- # Close notification. Equivalent dunstctl command:
- # dunstctl close
- # close = ctrl+space
+ # Close notification.
close = mod4+k
- # Close all notifications. Equivalent dunstctl command:
- # dunstctl close-all
+ # Close all notifications.
close_all = mod4+l
- # Redisplay last message(s). Equivalent dunstctl command:
- # dunstctl history-pop
- # history = ctrl+grave
+ # Redisplay last message(s).
+ # On the US keyboard layout "grave" is normally above TAB and left
+ # of "1". Make sure this key actually exists on your keyboard layout,
+ # e.g. check output of 'xmodmap -pke'
history = mod4+j
- # Context menu. Equivalent dunstctl command:
- # dunstctl context
- # context = ctrl+shift+period
+ # Context menu.
context = mod4+m
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
- background = "#222222"
- foreground = "#888888"
+ background = "#282a36"
+ foreground = "#6272a4"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
- background = "#285577"
- foreground = "#ffffff"
+ background = "#282a36"
+ foreground = "#bd93f9"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
- background = "#900000"
- foreground = "#ffffff"
- frame_color = "#ff0000"
+ background = "#ff5555"
+ foreground = "#f8f8f2"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon