From 937b0dc13ad75363f23b92bdb04cdb6d12423b09 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Tue, 11 Oct 2022 18:53:58 -0700 Subject: dunst: rewrote config --- dunst/.config/dunst/dunstrc | 112 +++++++++++++++----------------------------- sxhkd/.config/sxhkd/sxhkdrc | 8 +++- 2 files changed, 45 insertions(+), 75 deletions(-) diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc index 228eea9..fba209c 100755 --- a/dunst/.config/dunst/dunstrc +++ b/dunst/.config/dunst/dunstrc @@ -1,82 +1,48 @@ [global] - # Make the width 3740 (3840 - 100), have 50 left margin and 95 above - #geometry = "350x5-10+25" - width = 330 - height = 60 - offset = 10x35 - monitor = 0 - follow = keyboard - indicate_hidden = yes - shrink = yes - transparency = 0 - # Show multiple notifications in the same box - separator_height = 2 - separator_color = frame - sort = yes + monitor = 0 + follow = mouse + indicate_hidden = yes + shrink = no + separator_height = 0 + padding = 14 + horizontal_padding = 32 + frame_width = 2 + sort = no + idle_threshold = 120 + font = Input Mono 9 + line_height = 4 + markup = full + format = %s\n%b + alignment = left + show_age_threshold = 60 + word_wrap = yes + ignore_newline = no + stack_duplicates = false + hide_duplicate_count = yes + show_indicators = no + icon_position = off + sticky_history = yes + history_length = 20 + browser = /usr/bin/brave -new-tab + always_run_script = true + title = Dunst + class = Dunst - # Add vertical padding to the inside of the notification - padding = 14 - - # Add horizontal padding for when the text gets long enough - horizontal_padding = 14 - - # The frame color and width of the notification - frame_color = "#161616" - frame_width = 5 - line_height = 0 - - # How long a user needs to be idle for sticky notifications - idle_threshold = 120 - - # Font and typography settings - # icon_path = /home/x/.icons/Blue-Maia/status/:/home/x/.icons/Blue-Maia/status/devices/:/home/x/.icons/Blue-Maia/status/apps - font = Input Mono 10 - alignment = center - show_age_threshold = 60 - ellipsize = middle - ignore_newline = no - stack_duplicates = true - hide_duplicate_count = true - show_indicators = yes - icon_position = left - max_icon_size = 40 - sticky_history = yes - history_length = 20 - dmenu = /usr/bin/dmenu -p dunst: - browser = /usr/bin/brave -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 - word_wrap = yes - - # Format for how notifications will be displayed - # Usage: `notify-send 'Title' 'Summary'` - format = "%s: %b" - - # Allow some HTML tags like and in notifications - markup = full - -# Set the background and foreground (text) color for all notifications [urgency_low] - background = "#101010" - foreground = "#eeffff" - timeout = 5 + timeout = 4 + background = "#101010" + foreground = "#eeffff" [urgency_normal] - background = "#101010" - foreground = "#eeffff" - timeout = 5 + timeout = 8 + background = "#101010" + foreground = "#eeffff" [urgency_critical] - background = "#101010" - foreground = "#eeffff" - timeout = 0 + timeout = 0 + background = "#101010" + foreground = "#eeffff" [play_sound] - summary = "*" - script = ~/.bin/notify.sh + summary = "*" + script = ~/.bin/notify.sh diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index acdbce0..ed672af 100755 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -19,9 +19,11 @@ super + shift + f super + n urxvtc -e nvim ~/.local/todo.md super + Print - maim | tee ~/Pictures/$(date +%d-%b-%y-%I:%M:%S%p).png | xclip -selection clipboard -t image/png + maim | tee ~/pics/$(date +%d-%b-%y-%I:%M:%S%p).png | xclip -selection clipboard -t image/png +control + Print + maim -s | xclip -selection clipboard -t image/png control + alt + Print - maim -s | tee ~/Pictures/$(date +%d-%b-%y-%I:%M:%S%p).png | xclip -selection clipboard -t image/png + maim -s | tee ~/pics/$(date +%d-%b-%y-%I:%M:%S%p).png | xclip -selection clipboard -t image/png super + shift + p passmenu -i -fn "Input Mono:style=medium:size=9" -nb "#171a1f" -nf "#f3f4f5" -sb "#c6c8d1" -sf "#171a1f" super + Escape @@ -58,6 +60,8 @@ ctrl + space dunstctl close ctrl + alt + space dunstctl close-all +ctrl + grave + dunstctl history-pop # bspwm hotkeys # quit/restart bspwm -- cgit v1.2.3