Use sway notification center over mako

main
Ensar Sarajčić 2022-09-20 12:20:50 +02:00
parent 9ad2fb0c9d
commit 92164a525c
4 changed files with 47 additions and 28 deletions

View File

@ -1,5 +1,5 @@
# Start up notification manager
exec --no-startup-id mako
exec swaync
exec kdeconnect-indicator
exec ulauncher --hide-window
exec libinput-gestures-setup start

View File

@ -1,4 +0,0 @@
# Mako control key bindings
bindsym --release control+space exec makoctl dismiss
bindsym --release control+space+period exec makoctl dismiss --all
bindsym --release control+space+o exec makoctl menu wofi -d

View File

@ -0,0 +1,5 @@
# Mako control key bindings
bindsym --release control+space exec swaync-client --hide-latest
bindsym --release control+space+period exec swaync-client --close-all
bindsym --release control+space+o exec swaync-client --open-panel
bindsym --release $mod+v exec swaync-client -t -sw

View File

@ -27,6 +27,7 @@
"modules-center": [
"clock#date",
"clock#time",
"custom/notification"
],
"modules-right": [
"network",
@ -191,4 +192,21 @@
"format": "",
"on-click": "wlogout"
},
"custom/notification": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "<span foreground='red'><sup></sup></span>",
"none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
}