diff options
author | Saumit <justsaumit@protonmail.com> | 2024-12-20 01:12:22 +0530 |
---|---|---|
committer | Saumit <justsaumit@protonmail.com> | 2024-12-20 01:12:22 +0530 |
commit | f8b16294cde8aa04210e827d3601bb86d07f8e24 (patch) | |
tree | 0b08771e6a9151312cf3d3f8d88f5d67e8ee9b10 | |
parent | 9997f059b41ffb09bfdf81b3cf2c9612aa622643 (diff) |
-rw-r--r-- | .config/dunst/dunstrc | 64 |
1 files changed, 57 insertions, 7 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 860cd04..da4f434 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -1,25 +1,69 @@ [global] + ### Display ### monitor = 0 follow = mouse + ### Geometry ### #geometry = "x0x0-30+20" width = 300 - height = 300 + height = (0, 300) origin = top-right - offset = 17x20 + offset = (17, 20) scale = 0 - max_icon_size=96 + notification_limit = 20 + ### Progress bar ### + + # Turn on the progress bar. It appears when a progress hint is passed with + # for example dunstify -h int:value:12 + 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 + + # Corner radius for the progress bar. 0 disables rounded corners. + progress_bar_corner_radius = 0 + + # Define which corners to round when drawing the progress bar. If progress_bar_corner_radius + # is set to 0 this option will be ignored. + progress_bar_corners = all + + # Corner radius for the icon image. + icon_corner_radius = 0 + + # Define which corners to round when drawing the icon image. If icon_corner_radius + # is set to 0 this option will be ignored. + icon_corners = all + + # Show how many messages are currently hidden (because of + # notification_limit). indicate_hidden = yes + #max_icon_size=96 shrink = yes transparency = 10 - # Show multiple notifications in the same box + # Draw a line of "separator_height" pixel height between two + # notifications. + # Set to 0 to disable. + # If gap_size is greater than 0, this setting will be ignored. separator_height = 2 # Add vertical padding to the inside of the notification - padding = 0 + padding = 5 # Add horizontal padding for when the text gets long enough horizontal_padding = 8 + # Padding between text and icon. + text_icon_padding = 0 + # The frame color and width of the notification frame_color = "#8C754B" frame_width = 3 @@ -27,9 +71,12 @@ # How long a user needs to be idle for sticky notifications idle_threshold = 120 + ### Text ### # Font and typography settings font = JetBrainsMono Nerd Font 14 alignment = left + vertical_alignment = center + line_height = 0 word_wrap = yes # Format for how notifications will be displayed @@ -44,10 +91,12 @@ stack_duplicates = true hide_duplicate_count = true show_indicators = yes + ### Icons ### +##since dunst runs as root on startup $USER would point to root dir + icon_path = $HOME/.local/share/icons icon_position = left max_icon_size = 40 -##since dunst runs as root on startup $USER would point to root dir - icon_path = /home/justsaumit/.local/share/icons + ### History ### sticky_history = yes history_length = 20 dmenu = /usr/bin/dmenu -p dunst: @@ -59,6 +108,7 @@ title = Dunst class = Dunst force_xinerama = false + force_xwayland = false # These are the keybindings used to control dunst notifications |