You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// -*- mode: json -*- |
|
|
|
|
|
{ |
|
|
"layer": "top", |
|
|
"position": "top", |
|
|
|
|
|
"modules-left": [ |
|
|
"sway/workspaces", |
|
|
"sway/window" |
|
|
], |
|
|
"modules-center": [], |
|
|
"modules-right": [ |
|
|
"pulseaudio", |
|
|
"custom/network", |
|
|
"custom/disk", |
|
|
"memory", |
|
|
"custom/top", |
|
|
"battery", |
|
|
"clock#0", |
|
|
"tray" |
|
|
], |
|
|
|
|
|
"sway/workspaces": { |
|
|
"disable-scroll": true, |
|
|
"format": "{name}" |
|
|
}, |
|
|
|
|
|
"sway/window": { |
|
|
"max-length": 70, |
|
|
"format": "{title}" |
|
|
}, |
|
|
|
|
|
"custom/network": { |
|
|
"exec": "/home/chodak/.config/waybar/network.py", |
|
|
"interval": 10, |
|
|
"return-type": "json", |
|
|
"tooltip": true |
|
|
}, |
|
|
|
|
|
"clock#0": { |
|
|
"format": "{:%H:%M %d/%m/%y}", |
|
|
"tooltip": false |
|
|
}, |
|
|
|
|
|
"pulseaudio": { |
|
|
"format": "<span size='x-large' rise='-1500'>{icon}</span> {volume:2}%", |
|
|
"format-bluetooth": "<span size='x-large' rise='-1500'>{icon}</span> {volume}%", |
|
|
"format-muted": "MUTE", |
|
|
"format-icons": { |
|
|
"headphones": "", |
|
|
"default": [ |
|
|
"", |
|
|
"" |
|
|
] |
|
|
}, |
|
|
"scroll-step": 5, |
|
|
"on-click": "pamixer -t", |
|
|
"on-click-right": "pavucontrol" |
|
|
}, |
|
|
"memory": { |
|
|
"interval": 5, |
|
|
"format": "<span size='x-large' rise='-1500'></span> {}%" |
|
|
}, |
|
|
"custom/top": { |
|
|
"exec": "~/.config/waybar/top.sh", |
|
|
"interval": 5, |
|
|
"return-type": "json", |
|
|
"tooltip": true |
|
|
}, |
|
|
"battery": { |
|
|
"states": { |
|
|
"good": 95, |
|
|
"warning": 30, |
|
|
"critical": 15 |
|
|
}, |
|
|
"format": "<span size='x-large' rise='-1500'>{icon}</span> {capacity}%", |
|
|
"format-icons": [ |
|
|
"", |
|
|
"", |
|
|
"", |
|
|
"", |
|
|
"" |
|
|
] |
|
|
}, |
|
|
"custom/disk": { |
|
|
"exec": "/home/chodak/.config/waybar/disk.py", |
|
|
"interval": 30, |
|
|
"return-type": "json", |
|
|
"tooltip": true, |
|
|
"escape": false |
|
|
}, |
|
|
"tray": { |
|
|
"icon-size": 24 |
|
|
} |
|
|
}
|
|
|
|