Use sway notification center over mako
parent
9ad2fb0c9d
commit
92164a525c
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -27,6 +27,7 @@
|
|||
"modules-center": [
|
||||
"clock#date",
|
||||
"clock#time",
|
||||
"custom/notification"
|
||||
],
|
||||
"modules-right": [
|
||||
"network",
|
||||
|
@ -74,28 +75,28 @@
|
|||
},
|
||||
|
||||
"clock#date": {
|
||||
"interval": 10,
|
||||
"format": " {:%e %b %Y}", // Icon: calendar-alt
|
||||
"tooltip-format": "{:%e %B %Y}"
|
||||
"interval": 10,
|
||||
"format": " {:%e %b %Y}", // Icon: calendar-alt
|
||||
"tooltip-format": "{:%e %B %Y}"
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": " {usage}% ({load})", // Icon: microchip
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
|
||||
"custom/keyboard-layout": {
|
||||
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
||||
// Interval set only as a fallback, as the value is updated by signal
|
||||
"interval": 30,
|
||||
"format": " {}", // Icon: keyboard
|
||||
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||
"signal": 1, // SIGHUP
|
||||
"tooltip": false
|
||||
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
||||
// Interval set only as a fallback, as the value is updated by signal
|
||||
"interval": 30,
|
||||
"format": " {}", // Icon: keyboard
|
||||
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||
"signal": 1, // SIGHUP
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"memory": {
|
||||
|
@ -160,17 +161,17 @@
|
|||
},
|
||||
|
||||
"temperature": {
|
||||
"critical-threshold": 80,
|
||||
"interval": 5,
|
||||
"format": "{icon} {temperatureC}°C",
|
||||
"format-icons": [
|
||||
"", // Icon: temperature-empty
|
||||
"", // Icon: temperature-quarter
|
||||
"", // Icon: temperature-half
|
||||
"", // Icon: temperature-three-quarters
|
||||
"" // Icon: temperature-full
|
||||
],
|
||||
"tooltip": true
|
||||
"critical-threshold": 80,
|
||||
"interval": 5,
|
||||
"format": "{icon} {temperatureC}°C",
|
||||
"format-icons": [
|
||||
"", // Icon: temperature-empty
|
||||
"", // Icon: temperature-quarter
|
||||
"", // Icon: temperature-half
|
||||
"", // Icon: temperature-three-quarters
|
||||
"" // Icon: temperature-full
|
||||
],
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"tray": {
|
||||
|
@ -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
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue