commit e75629983b178398e839c7448ff15720ec8e177e from: Thomas Böhler date: Thu Oct 9 16:52:06 2025 UTC waybar: add waybar configuration Waybar configuration absolutely *sucks*. Keep it minimal to not have to bother with it too much. Signed-off-by: Thomas Böhler commit - e3b138a58ddc1ad04f9fde11b59193bb98f9e956 commit + e75629983b178398e839c7448ff15720ec8e177e blob - /dev/null blob + a5fc20ea57efea161e53c3ffe47aedb00edfbcf6 (mode 644) --- /dev/null +++ waybar/.config/waybar/config.jsonc @@ -0,0 +1,50 @@ +{ + "layer": "top", + "modules-left": ["sway/workspaces", "sway/mode"], + "modules-center": [], + "modules-right": [ + "cpu", + "custom/separator", + "memory", + "custom/separator", + "battery", + "custom/separator", + "pulseaudio", + "custom/separator", + "backlight", + "custom/separator", + "clock", + "custom/separator", + "tray" + ], + "custom/separator": { + "format": "|", + "interval": "once", + "tooltip": false + }, + "sway/workspaces": { + "format": "{name}" + }, + "cpu": { + "format": "C: {usage}%" + }, + "memory": { + "format": "M: {percentage}%" + }, + "clock": { + "format": "{:%a %b %d %H:%M}", + "tooltip": false, + "on-click": "gsimplecal" + }, + "battery": { + "format": "B: {capacity}% ({time})", + "format-time": "{H}:{M}" + }, + "backlight": { + "format": "BL: {percent}%" + }, + "pulseaudio": { + "format": "A: {volume}%", + "on-click": "pavucontrol" + } +} blob - /dev/null blob + da769095543d368d75516b0904ee33dbcd8a764e (mode 644) --- /dev/null +++ waybar/.config/waybar/style.css @@ -0,0 +1,26 @@ +* { + font-family: Monaco, monospace; + font-size: 12px; + color: #ffffff; + margin: 0px 3px; +} + +#workspaces { + margin: 0px; + padding: 0px; +} + +#workspaces button { + margin: 0px; + padding: 1px; + border-radius: 0; +} + +#workspaces button.focused { + background: rgba(150, 150, 150, 1.0); +} + +window#waybar { + background: rgba(32, 32, 32, 1.0); + border-bottom: 1px solid #3a3a3a; +}