From ef707de1f52533f093c035823d4fb65f6c357583 Mon Sep 17 00:00:00 2001 From: Asocia Date: Thu, 15 Jul 2021 18:40:16 +0300 Subject: [PATCH] Use autogenerated palette in dunst --- .config/dunst/dunstrc | 200 +--------------------------------- .config/wal/templates/dunstrc | 199 +++++++++++++++++++++++++++++++++ 2 files changed, 200 insertions(+), 199 deletions(-) mode change 100644 => 120000 .config/dunst/dunstrc create mode 100644 .config/wal/templates/dunstrc diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc deleted file mode 100644 index 5f83451..0000000 --- a/.config/dunst/dunstrc +++ /dev/null @@ -1,199 +0,0 @@ -[global] - - # --- Display --- # - - # The monitor to be displayed to - monitor = 0 - - # Follow monitor with mouse - follow = mouse - - # The geometry of the window - # [{width}]x{height}[+/-{x}+/-{y}] - geometry = "270x6-24+68" - - # Show how many messages are hidden - indicate_hidden = yes - - # Shrink window if it's smaller than the width. - shrink = no - - # The transparency of the window. - transparency = 1 - - # Set height to padding + font size - notification_height = 0 - - # Draw a line between multiple notifications - separator_height = 3 - separator_color = "#ffffffaa" - - # Set notification padding - padding = 16 - horizontal_padding = 16 - - # Disable frame (border) - frame_width = 0 - - # Sort messages by urgency. - sort = no - - # Disable idle time - idle_threshold = 0 - - - # --- Text --- # - - # Set the font - # font = "Noto Sans 11" - font = "Hack Nerd Font 9.5" - - # Set line height to font height - line_height = 0 - - # Reference for markup and formatting: - # bold - # italic - # strikethrough - # underline - # . - # %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 = full - format = "%s\n%b" - - # Left align the text - alignment = left - - # Vertical alignment of message text and icon. - vertical_alignment = center - - # Show age of message if message is old - show_age_threshold = 120 - - # Wrap text if it doesn't fit in geometry - word_wrap = yes - - # Where to place ellipses if word wrap is disabled - # ellipsize = middle - - # Use newlines '\n' in notifications. - ignore_newline = no - - # Don't stack together notifications - stack_duplicates = false - - # Hide the count of stacked notifications - # hide_duplicate_count = false - - # Display indicators for URLs (U) and actions (A). - show_indicators = yes - - - # ---- Icons ---- # - - # Align icons left/right/off - icon_position = left - - # Scale small icons up to this size, set to 0 to disable. - min_icon_size = 0 - - # Scale larger icons down to this size, set to 0 to disable - max_icon_size = 40 - - # Paths to default icons. - icon_path = /usr/share/icons/ePapirus/128x128/apps:/usr/share/icons/ePapirus/128x128/devices:/usr/share/icons/ePapirus/128x128/mimetypes:/usr/share/icons/ePapirus/128x128/places:/usr/share/icons/Papirus/48x48/actions:/usr/share/icons/Papirus/48x48/apps:/usr/share/icons/Papirus/48x48/devices:/usr/share/icons/Papirus/48x48:emblems:/usr/share/icons/Papirus/48x48/emotes:/usr/share/icons/Papirus/48x48/mimetypes:/usr/share/icons/Papirus/48x48/places:/usr/share/icons/Papirus/48x48/status - - - # --- History --- # - - # Avoid timing out hidden notifications - sticky_history = yes - - # Maximum amount of notifications kept in history - history_length = 100 - - - # --- Misc/Advanced --- # - - dmenu = /usr/bin/dmenu -p dunst: - - # Browser for opening urls in context menu. - browser = /usr/bin/firefox -new-tab - - # Always run rule-defined scripts, even if the notification is suppressed - always_run_script = false - - # Define the title of the windows spawned by dunst - title = Dunst - - # Define the class of the windows spawned by dunst - class = Dunst - - # Avoid printing a notification on startup - startup_notification = false - - # Manage dunst's desire for talking - verbosity = mesg - - # Define the corner radius of the notification window - corner_radius = 0 - - # Don't gnore the dbus closeNotification message. - ignore_dbusclose = false - - - # --- Legacy --- # - - # Use the Xinerama extension instead of RandR for multi-monitor support. - force_xinerama = false - - - # --- Mouse --- # - mouse_left_click = close_current - mouse_middle_click = do_action, close_current - mouse_right_click = close_all - - -[experimental] - per_monitor_dpi = false - - -[shortcuts] - # Close notification. - close = ctrl+space - - # Close all notifications. - close_all = ctrl+shift+space - - # Redisplay last message(s). - history = ctrl+grave - - # Context menu. - context = ctrl+shift+period - - -# --- Colors --- # - -[urgency_low] - background = "#1e2137fa" - foreground = "#ffffffff" - timeout = 8 - -[urgency_normal] - background = "#1e2137fa" - foreground = "#ffffffff" - timeout = 8 - -[urgency_critical] - background = "#dd130ddd" - foreground = "#ffffff" - timeout = 0 - icon = abrt diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc new file mode 120000 index 0000000..9859494 --- /dev/null +++ b/.config/dunst/dunstrc @@ -0,0 +1 @@ +/home/sahin/.cache/wal/dunstrc \ No newline at end of file diff --git a/.config/wal/templates/dunstrc b/.config/wal/templates/dunstrc new file mode 100644 index 0000000..695a5c6 --- /dev/null +++ b/.config/wal/templates/dunstrc @@ -0,0 +1,199 @@ +[global] + + # --- Display --- # + + # The monitor to be displayed to + monitor = 0 + + # Follow monitor with mouse + follow = mouse + + # The geometry of the window + # widthxheight +/-x+/-y + geometry = "270x6-24+68" + + # Show how many messages are hidden + indicate_hidden = yes + + # Shrink window if it's smaller than the width. + shrink = no + + # The transparency of the window. + transparency = 1 + + # Set height to padding + font size + notification_height = 0 + + # Draw a line between multiple notifications + separator_height = 3 + separator_color = "#ffffffaa" + + # Set notification padding + padding = 16 + horizontal_padding = 16 + + # Disable frame (border) + frame_width = 0 + + # Sort messages by urgency. + sort = no + + # Disable idle time + idle_threshold = 0 + + + # --- Text --- # + + # Set the font + # font = "Noto Sans 11" + font = "Hack Nerd Font 9.5" + + # Set line height to font height + line_height = 0 + + # Reference for markup and formatting: + # bold + # italic + # strikethrough + # underline + # . + # %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 = full + format = "%s\n%b" + + # Left align the text + alignment = left + + # Vertical alignment of message text and icon. + vertical_alignment = center + + # Show age of message if message is old + show_age_threshold = 120 + + # Wrap text if it doesn't fit in geometry + word_wrap = yes + + # Where to place ellipses if word wrap is disabled + # ellipsize = middle + + # Use newlines '\n' in notifications. + ignore_newline = no + + # Don't stack together notifications + stack_duplicates = false + + # Hide the count of stacked notifications + # hide_duplicate_count = false + + # Display indicators for URLs (U) and actions (A). + show_indicators = yes + + + # ---- Icons ---- # + + # Align icons left/right/off + icon_position = left + + # Scale small icons up to this size, set to 0 to disable. + min_icon_size = 0 + + # Scale larger icons down to this size, set to 0 to disable + max_icon_size = 40 + + # Paths to default icons. + icon_path = /usr/share/icons/ePapirus/128x128/apps:/usr/share/icons/ePapirus/128x128/devices:/usr/share/icons/ePapirus/128x128/mimetypes:/usr/share/icons/ePapirus/128x128/places:/usr/share/icons/Papirus/48x48/actions:/usr/share/icons/Papirus/48x48/apps:/usr/share/icons/Papirus/48x48/devices:/usr/share/icons/Papirus/48x48:emblems:/usr/share/icons/Papirus/48x48/emotes:/usr/share/icons/Papirus/48x48/mimetypes:/usr/share/icons/Papirus/48x48/places:/usr/share/icons/Papirus/48x48/status + + + # --- History --- # + + # Avoid timing out hidden notifications + sticky_history = yes + + # Maximum amount of notifications kept in history + history_length = 100 + + + # --- Misc/Advanced --- # + + dmenu = /usr/bin/dmenu -p dunst: + + # Browser for opening urls in context menu. + browser = /usr/bin/firefox -new-tab + + # Always run rule-defined scripts, even if the notification is suppressed + always_run_script = false + + # Define the title of the windows spawned by dunst + title = Dunst + + # Define the class of the windows spawned by dunst + class = Dunst + + # Avoid printing a notification on startup + startup_notification = false + + # Manage dunst's desire for talking + verbosity = mesg + + # Define the corner radius of the notification window + corner_radius = 0 + + # Don't gnore the dbus closeNotification message. + ignore_dbusclose = false + + + # --- Legacy --- # + + # Use the Xinerama extension instead of RandR for multi-monitor support. + force_xinerama = false + + + # --- Mouse --- # + mouse_left_click = close_current + mouse_middle_click = do_action, close_current + mouse_right_click = close_all + + +[experimental] + per_monitor_dpi = false + + +[shortcuts] + # Close notification. + close = ctrl+space + + # Close all notifications. + close_all = ctrl+shift+space + + # Redisplay last message(s). + history = ctrl+grave + + # Context menu. + context = ctrl+shift+period + + +# --- Colors --- # + +[urgency_low] + background = "{color1}" + foreground = "{foreground}" + timeout = 8 + +[urgency_normal] + background = "{color1}" + foreground = "{foreground}" + timeout = 8 + +[urgency_critical] + background = "#dd130ddd" + foreground = "#ffffff" + timeout = 0 + icon = abrt