Move Sway to systemd

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2020-01-10 15:35:07 +02:00
parent 7b5b1019cc
commit 2c3d93ebee
26 changed files with 264 additions and 131 deletions

View file

@ -8,9 +8,8 @@
"idle_inhibitor",
"pulseaudio",
"custom/yay",
"cpu",
"network",
"temperature",
"memory",
"battery",
"clock",
"tray"
@ -42,6 +41,16 @@
"deactivated": ""
}
},
"network": {
"format": "{ifname}",
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr} ",
"format-disconnected": "Disconnected ", //An empty format will hide the module.
"tooltip-format": "{ifname}",
"tooltip-format-wifi": "{ifname} {frequency}MHz ",
"tooltip-format-ethernet": "{ifname} ",
"tooltip-format-disconnected": "Disconnected"
},
"tray": {
// "icon-size": 21,
"spacing": 10
@ -78,15 +87,6 @@
"battery#bat2": {
"bat": "BAT2"
},
"network": {
"tooltip": false,
"interface": "wg0",
"format-ethernet": "VPN Connected",
"format-disconnected": "VPN disconnected ⚠",
"on-click": "sudo systemctl start wg-quick@wg0.service",
"on-click-right": "sudo systemctl stop wg-quick@wg0.service",
"interval": 10
},
"pulseaudio": {
"tooltip": false,
//"scroll-step": 1,