1
0
Fork 0

Add waybar configuration

This commit is contained in:
coderkun 2020-08-30 11:54:55 +02:00
commit 78ee784e68
2 changed files with 101 additions and 0 deletions

25
waybar/config Normal file
View file

@ -0,0 +1,25 @@
{
"layer": "bottom",
"position": "top",
"height": 24,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["cpu", "memory", "tray"],
"modules-right": ["clock#time", "clock#date"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"cpu": {
"format": " {usage}%"
},
"memory": {
"format": " {used:0.1f}G/{total:0.1f}G ({percentage}%)"
},
"clock#time": {
"interval": 20,
"format": "{: %H:%M}"
},
"clock#date": {
"interval": 60,
"format": "{: %d.%m.%Y}"
}
}