diff options
| -rw-r--r-- | .config/waybar/config | 62 | ||||
| -rw-r--r-- | .config/waybar/style.css | 44 |
2 files changed, 106 insertions, 0 deletions
diff --git a/.config/waybar/config b/.config/waybar/config new file mode 100644 index 0000000..b5ebd6b --- /dev/null +++ b/.config/waybar/config @@ -0,0 +1,62 @@ +{ + "layer": "top", + "position": "top", + "height": 15, + "spacing": 5, + + "modules-left": ["sway/workspaces"], + "modules-right": ["wireplumber", "backlight", "battery", "group/net" ,"clock"], + + + "group/net": { + "orientation": "horizontal", + "modules": ["network", "bluetooth"] + }, + + "sway/workspaces": { + "disable-scroll": true, + "all-outputs": true, + "format": "{name}", + "on-click": "activate" + }, + + "clock": { + "format": "{:%d.%m.%Y %H:%M}" + }, + + "wireplumber": { + "format": "{volume}% ", + "format-muted": "", + "max-volume": 100, + "scroll-step": 5, + "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle" + }, + + "battery": { + "bat": "BAT0", + "interval": 10, + "format": "{icon} {capacity}% ({time})", + "format-charging": " {icon} {capacity}%", + "format-plugged": " {capacity}%", + "format-icons": ["", "", "", "", ""], + "tooltip-format": "{timeTo}" + }, + + "backlight": { + "format": "{percent}% " + }, + + "network": { + "format-ethernet": " ", + "format-wifi": "{icon} ", + "format-disconnected": " ", + "format-icons": ["", "", "", "", ""], + "tooltip-format-wifi": "{essid} ({signalStrength}%)" + }, + + "bluetooth": { + "format": "", + "format-disabled": "", + "format-connected": "" + } +} diff --git a/.config/waybar/style.css b/.config/waybar/style.css new file mode 100644 index 0000000..7dc48f7 --- /dev/null +++ b/.config/waybar/style.css @@ -0,0 +1,44 @@ +* { + font-family: "JetBrainsMonoNF"; + font-size: 14px; + border: none; + border-radius: 0; +} + +window#waybar { + background: #121212; + color: #dedede; +} + + +#workspaces button { + padding: 0 5px; + color: #dedede; + border-bottom: 2px solid transparent; +} + +#workspaces button.focused { + color: #C9DE95; + background-color: #333333; + border-bottom: 2px solid #C9DE95; +} + +#workspaces button.urgent { + color: #E27373; + border-bottom: 2px solid #E27373; +} + + +#battery, +#backlight, +#network, +#bluetooth, +#wireplumber, +#clock { + padding: 0 5px; + border-bottom: 2px solid #C9DE95; +} + +#battery.critical { + color: #E27373; +} |