added dunst

This commit is contained in:
2025-12-29 21:42:34 +11:00
parent 2bfe638719
commit dc181f5008
5 changed files with 78 additions and 5 deletions

3
.config/.gitignore vendored
View File

@@ -3,6 +3,8 @@
!alacritty/
!bat/
!btop/
!dunst/
!hypr/
!i3/
!neofetch/
!picom/
@@ -12,5 +14,4 @@
!tmux/
!waybar/
!wofi/
!hypr/
!zsh-vim-mode/

1
.config/dunst/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
!*

74
.config/dunst/dunstrc Normal file
View File

@@ -0,0 +1,74 @@
# For defaults and description of each option, see the link bellow
# https://github.com/dunst-project/dunst/blob/master/dunstrc
[global]
# Display
monitor = 0
follow = none
width = 350
height = (0, 300)
origin = top-right
offset = (35, 35)
indicate_hidden = yes
notification_limit = 5
gap_size = 12
padding = 12
horizontal_padding = 20
frame_width = 1
sort = no
# Progress bar
progress_bar = true
progress_bar_frame_width = 0
progress_bar_corner_radius = 3
# Colors
foreground = "#cdd6f4"
frame_color = "#181825"
highlight = "#89b4fa, #82dceb"
# Text
font = Noto Sans CJK JP 10
markup = full
format = "<small>%a</small>\n<b>%s</b>\n%b"
alignment = left
vertical_alignment = center
show_age_threshold = -1
hide_duplicate_count = false
# Icon
icon_position = left
min_icon_size = 54
max_icon_size = 80
icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/:/usr/share/icons/Adwaita/16x16/legacy/
icon_corner_radius = 4
# Misc/Advanced
dmenu = wofi --show drun --prompt 'Open with'
corner_radius = 10
# Mouse
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
[urgency_low]
background = "#383c4af0"
timeout = 3
[urgency_normal]
background = "#383c4af0"
timeout = 8
[urgency_critical]
background = "#d20f39"
frame_color = "#eff1f5"
timeout = 0
# Rules
[fullscreen_delay_everything]
fullscreen = delay
[fullscreen_show_critical]
msg_urgency = critical
fullscreen = show

View File

@@ -42,7 +42,7 @@ $menu = wofi --show drun --insensitive --allow-images
# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
$autostart = "waybar & hyprpaper"
$autostart = "waybar & hyprpaper & dunst"
exec-once = sh -c "$autostart"

View File

@@ -1,7 +1,4 @@
#!/usr/bin/env bash
LOG=$HOME/.config/hypr/temp.log
exec > $LOG 2>&1
RUN_STRING=$1
KILL_STRING=${RUN_STRING//" & "/" "}
killall $KILL_STRING || true