Init
This commit is contained in:
29
.config/waybar/modules/notifications.jsonc
Normal file
29
.config/waybar/modules/notifications.jsonc
Normal file
@@ -0,0 +1,29 @@
|
||||
"custom/notifications": {
|
||||
"format": "{icon} {}",
|
||||
"rotate": ${r_deg},
|
||||
"format-icons": {
|
||||
"email-notification": "<span foreground='white'><sup></sup></span>",
|
||||
"chat-notification": "<span foreground='white'><sup></sup></span>",
|
||||
"warning-notification": "<span foreground='yellow'><sup></sup></span>",
|
||||
"error-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"network-notification": "<span foreground='white'><sup></sup></span>",
|
||||
"battery-notification": "<span foreground='white'><sup></sup></span>",
|
||||
"update-notification": "<span foreground='white'><sup></sup></span>",
|
||||
"music-notification": "<span foreground='white'><sup></sup></span>",
|
||||
"volume-notification": "<span foreground='white'><sup></sup></span>",
|
||||
"notification": "<span foreground='white'><sup></sup></span>",
|
||||
"dnd": "",
|
||||
"none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which dunstctl",
|
||||
"exec": "notifications.py",
|
||||
"on-scroll-down": "sleep 0.1 && dunstctl history-pop",
|
||||
"on-click": "dunstctl set-paused toggle",
|
||||
"on-click-middle": "dunstctl history-clear",
|
||||
"on-click-right": "dunstctl close-all",
|
||||
"interval": 1,
|
||||
"tooltip": true,
|
||||
"escape": true
|
||||
},
|
||||
|
Reference in New Issue
Block a user