Feat: decoration, all workspace on waybar and kanshi as service

This commit is contained in:
2022-02-06 15:43:56 +01:00
parent fe0c7e7630
commit e04c89b57a
7 changed files with 39 additions and 21 deletions

View File

@@ -1,6 +1,7 @@
{
"layer": "top",
"output": "eDP-1",
"height": 30,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "battery", "tray", "clock"],
@@ -8,7 +9,7 @@
"max-length": 50
},
"sway/workspaces": {
"all-outputs": true
},
"battery": {
"states": {
@@ -25,15 +26,8 @@
"format-icons": ["", "", "", "", ""]
},
"clock": {
"format": "{:%a, %d. %b %H:%M}"
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
"format": "{:%a, %d. %b %H:%M}",
"on-click": "gnome-calendar"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
@@ -54,4 +48,8 @@
},
"on-click": "pavucontrol"
},
}
"tray": {
"icon-size": 21,
"spacing": 10,
}
},