Used formatter on waybar config
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": [
|
||||||
|
"sway/workspaces",
|
||||||
|
"sway/mode"
|
||||||
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"tray",
|
"tray",
|
||||||
"custom/weather",
|
"custom/weather",
|
||||||
@@ -11,7 +14,6 @@
|
|||||||
"clock",
|
"clock",
|
||||||
"custom/power-menu"
|
"custom/power-menu"
|
||||||
],
|
],
|
||||||
|
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"all-output": true,
|
"all-output": true,
|
||||||
"format": "{index}"
|
"format": "{index}"
|
||||||
@@ -28,7 +30,6 @@
|
|||||||
"format": "--{}--",
|
"format": "--{}--",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/weather": {
|
"custom/weather": {
|
||||||
"exec": "curl 'https://wttr.in/?format=1'",
|
"exec": "curl 'https://wttr.in/?format=1'",
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
@@ -51,7 +52,9 @@
|
|||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": [""],
|
"format-icons": [
|
||||||
|
""
|
||||||
|
],
|
||||||
"format-disconnected": "No network",
|
"format-disconnected": "No network",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
@@ -65,7 +68,9 @@
|
|||||||
},
|
},
|
||||||
"custom/power-menu": {
|
"custom/power-menu": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": [""],
|
"format-icons": [
|
||||||
|
""
|
||||||
|
],
|
||||||
"on-click": "wlogout -b 4 -m 450 -c 30",
|
"on-click": "wlogout -b 4 -m 450 -c 30",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user