Use sway notification center over mako
parent
9ad2fb0c9d
commit
92164a525c
|
@ -1,5 +1,5 @@
|
||||||
# Start up notification manager
|
# Start up notification manager
|
||||||
exec --no-startup-id mako
|
exec swaync
|
||||||
exec kdeconnect-indicator
|
exec kdeconnect-indicator
|
||||||
exec ulauncher --hide-window
|
exec ulauncher --hide-window
|
||||||
exec libinput-gestures-setup start
|
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": [
|
"modules-center": [
|
||||||
"clock#date",
|
"clock#date",
|
||||||
"clock#time",
|
"clock#time",
|
||||||
|
"custom/notification"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"network",
|
"network",
|
||||||
|
@ -74,28 +75,28 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"clock#date": {
|
"clock#date": {
|
||||||
"interval": 10,
|
"interval": 10,
|
||||||
"format": " {:%e %b %Y}", // Icon: calendar-alt
|
"format": " {:%e %b %Y}", // Icon: calendar-alt
|
||||||
"tooltip-format": "{:%e %B %Y}"
|
"tooltip-format": "{:%e %B %Y}"
|
||||||
},
|
},
|
||||||
|
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": " {usage}% ({load})", // Icon: microchip
|
"format": " {usage}% ({load})", // Icon: microchip
|
||||||
"states": {
|
"states": {
|
||||||
"warning": 70,
|
"warning": 70,
|
||||||
"critical": 90
|
"critical": 90
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/keyboard-layout": {
|
"custom/keyboard-layout": {
|
||||||
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
"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 set only as a fallback, as the value is updated by signal
|
||||||
"interval": 30,
|
"interval": 30,
|
||||||
"format": " {}", // Icon: keyboard
|
"format": " {}", // Icon: keyboard
|
||||||
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||||
"signal": 1, // SIGHUP
|
"signal": 1, // SIGHUP
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
"memory": {
|
"memory": {
|
||||||
|
@ -160,17 +161,17 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"temperature": {
|
"temperature": {
|
||||||
"critical-threshold": 80,
|
"critical-threshold": 80,
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": "{icon} {temperatureC}°C",
|
"format": "{icon} {temperatureC}°C",
|
||||||
"format-icons": [
|
"format-icons": [
|
||||||
"", // Icon: temperature-empty
|
"", // Icon: temperature-empty
|
||||||
"", // Icon: temperature-quarter
|
"", // Icon: temperature-quarter
|
||||||
"", // Icon: temperature-half
|
"", // Icon: temperature-half
|
||||||
"", // Icon: temperature-three-quarters
|
"", // Icon: temperature-three-quarters
|
||||||
"" // Icon: temperature-full
|
"" // Icon: temperature-full
|
||||||
],
|
],
|
||||||
"tooltip": true
|
"tooltip": true
|
||||||
},
|
},
|
||||||
|
|
||||||
"tray": {
|
"tray": {
|
||||||
|
@ -191,4 +192,21 @@
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "wlogout"
|
"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