feat: some shit

This commit is contained in:
2022-06-20 19:57:01 +02:00
parent 773ce006f0
commit 8fa67afb79
9 changed files with 61 additions and 18 deletions

View File

@ -33,7 +33,7 @@
origin = top-right
# Offset from the origin
offset = 10x50
offset = 10x10
# Scale factor. It is auto-detected if value is 0.
scale = 0
@ -120,6 +120,8 @@
font = Hack Nerd Font Mono 14
enable_recursive_icon_lookup = true
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
@ -187,7 +189,7 @@
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
show_indicators = false
### Icons ###
@ -203,7 +205,8 @@
max_icon_size = 128
# Paths to default icons.
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
icon_path = /home/max/.local/share/icons/WhiteSur/status/32/:/home/max/.local/share/icons/WhiteSur-dark/devices@2x/scalable:/usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
icon_theme="WhiteSur"
### History ###
@ -236,7 +239,7 @@
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
corner_radius = 10
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
@ -292,7 +295,7 @@
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
per_monitor_dpi = true
[urgency_low]
@ -319,6 +322,15 @@
# Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon
[AndroidMusic]
summary = "*Android System Intelligence*"
background = "#0009"
foreground = "#fff"
new_icon = false
frame_color = "#0000"
format = ""
script = "/home/max/.config/dunst/scripts/handle-music"
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#

View File

@ -0,0 +1,2 @@
#!/bin/bash
dunstify --icon=music "$(echo $DUNST_BODY | sed 's/: Tippen.*//g')"