Update niri and mako
This commit is contained in:
@@ -1,27 +1,46 @@
|
||||
sort=-time
|
||||
anchor=bottom-right
|
||||
anchor=top-right
|
||||
layer=overlay
|
||||
background-color=#2e3440
|
||||
width=480
|
||||
height=240
|
||||
|
||||
# Modern soft design: semi-transparent dark, no harsh borders
|
||||
background-color=#32435dcc
|
||||
text-color=#cdd6f4
|
||||
width=420
|
||||
height=120
|
||||
border-size=1
|
||||
border-color=#bac0d0
|
||||
border-radius=10
|
||||
border-color=#ffffff77
|
||||
border-radius=12
|
||||
outer-margin=16
|
||||
padding=12
|
||||
|
||||
icons=1
|
||||
max-icon-size=64
|
||||
max-icon-size=48
|
||||
default-timeout=5000
|
||||
ignore-timeout=1
|
||||
font=Assistant Bold 12
|
||||
outer-margin=40
|
||||
font=Fira Sans 12
|
||||
|
||||
[urgency=low]
|
||||
border-color=#cccccc
|
||||
border-color=#89b4fa77
|
||||
background-color=#1e1e2edd
|
||||
text-color=#a6adc8
|
||||
default-timeout=3000
|
||||
|
||||
[urgency=normal]
|
||||
border-color=#d08770
|
||||
border-color=#b4befe77
|
||||
background-color=#101730dd
|
||||
text-color=#cdd6f4
|
||||
default-timeout=5000
|
||||
|
||||
[urgency=high]
|
||||
border-color=#bf616a
|
||||
border-color=#f9e2af77
|
||||
background-color=#45403ddd
|
||||
text-color=#f5e0dc
|
||||
default-timeout=10000
|
||||
|
||||
[urgency=critical]
|
||||
border-color=#f38ba877
|
||||
background-color=#4a3642dd
|
||||
text-color=#f5e0dc
|
||||
default-timeout=0
|
||||
|
||||
[category=mpd]
|
||||
|
||||
56
mako/.config/mako/test-mako.sh
Normal file
56
mako/.config/mako/test-mako.sh
Normal file
@@ -0,0 +1,56 @@
|
||||
systemctl --user restart mako
|
||||
notify-send "Mako restarted"
|
||||
sleep 2
|
||||
|
||||
# Test simple notification
|
||||
notify-send "Test Notification" "This is a simple notification."
|
||||
sleep 2
|
||||
|
||||
# Test different urgency levels
|
||||
notify-send -u low "Low Urgency" "This is a low urgency notification."
|
||||
sleep 1
|
||||
notify-send -u normal "Normal Urgency" "This is a normal urgency notification."
|
||||
sleep 1
|
||||
notify-send -u critical "High Urgency" "This is a high urgency notification."
|
||||
sleep 2
|
||||
|
||||
# Test notification with icon
|
||||
notify-send -i dialog-information "With Icon" "This notification has an icon."
|
||||
sleep 2
|
||||
|
||||
# Test notification in custom category
|
||||
notify-send -c mpd "MPD Category" "This notification tests the mpd category."
|
||||
sleep 2
|
||||
|
||||
# Test notification with short timeout (only applies if ignore-timeout is not set)
|
||||
notify-send -t 1000 "Short Timeout" "This should disappear quickly."
|
||||
sleep 2
|
||||
|
||||
# Test notification with long timeout
|
||||
notify-send -t 10000 "Long Timeout" "This should stay longer."
|
||||
sleep 2
|
||||
|
||||
# Test multi-line body
|
||||
notify-send "Multiline Test" "Line 1
|
||||
Line 2
|
||||
Line 3"
|
||||
sleep 2
|
||||
|
||||
# Test width - intentionally long title/body to check wrapping
|
||||
notify-send "Long Notification Title Testing Wrapping In Mako Notification System" "This is a long notification body to see how the text gets wrapped and how it looks in the mako notification window. The width limit should prevent overflow."
|
||||
sleep 2
|
||||
|
||||
# Test notification with unicode/emojis
|
||||
notify-send "Emoji 🚀 Test" "This notification contains emojis 🎉👍"
|
||||
sleep 2
|
||||
|
||||
# Test multiple notifications in quick succession
|
||||
for i in $(seq 1 5); do
|
||||
notify-send "Batch Test $i" "This is notification number $i"
|
||||
sleep 1
|
||||
done
|
||||
sleep 2
|
||||
|
||||
# Test notification that should persist (critical urgency and normal has default-timeout=0 in some configs)
|
||||
notify-send -u critical "Persistent Notification" "This notification should not timeout automatically."
|
||||
sleep 3
|
||||
@@ -10,7 +10,7 @@ environment {
|
||||
XCURSOR_SIZE "12"
|
||||
QT_QPA_PLATFORMTHEME "qt5ct"
|
||||
// GTK_THEME "adw-gtk3-dark:dark"
|
||||
// GDK_BACKEND "wayland,x11,*"
|
||||
GDK_BACKEND "wayland,x11,*"
|
||||
QT_QPA_PLATFORM "wayland;xcb"
|
||||
// QT_AUTO_SCREEN_SCALE_FACTOR "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user