diff options
| -rw-r--r-- | waybar/config.jsonc | 92 | ||||
| -rw-r--r-- | waybar/style.css | 103 |
2 files changed, 195 insertions, 0 deletions
diff --git a/waybar/config.jsonc b/waybar/config.jsonc new file mode 100644 index 0000000..77455d6 --- /dev/null +++ b/waybar/config.jsonc @@ -0,0 +1,92 @@ +// -*- mode: jsonc -*- +{ + "layer": "top", + "position": "bottom", + // "height": 48, // Waybar height (to be removed for auto height) + // "width": 1280, // Waybar width + "spacing": 0, + "modules-left": [ + "river/tags", + "river/layout", + "river/window" + ], + "modules-center": [ + ], + "modules-right": [ + "pulseaudio", + "backlight", + "network#vpn", + "network#wifi", + "temperature", + "battery", + "clock", + "tray", + ], + "river/tags": { + "num-tags": 8, + "tag-labels": ["F", "U", "H", ".", "V", "L", "O", "M"] + }, + "river/window": { + "max-length": 48, + "min-length": 48, + "align": 0, + "justify": "left", + }, + "tray": { + "icon-size": 32, + "spacing": 10 + }, + "clock": { + // "timezone": "America/New_York", + "format": "{:%H:%M %Y/%m/%d}", + "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", + "format-alt": "{:%Y-%m-%d}" + }, + "temperature": { + // "thermal-zone": 2, + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", + "critical-threshold": 80, + // "format-critical": "{temperatureC}°C {icon}", + "format": "⚙{temperatureC}°C", + }, + "backlight": { + // "device": "acpi_video1", + "format": "{icon} {percent}%", + "format-icons": ["", "", "", "", "", "", "", "", ""] + }, + "battery": { + "format": "{icon} {capacity}% ⏲{time}", + "format-charging": "🔌{capacity}% ⏲{time}", + "format-time": "{H}h{M}m", + "format-icons": ["", "", "", "", ""] + }, + "network#vpn": { + "interface": "wg0-mullvad", + "format-disconnected": "VPN ⚠", + "format": "", + }, + "network#wifi": { + "interface": "wlp1s0", + "format-wifi": " {essid}", + "tooltip-format": "{ifname}: {ipaddr}/{cidr}", + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{volume}% {icon} {format_source} ", + "format-bluetooth": "{volume}% {icon} {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": " {format_source}", + "format-source": "", + "format-source-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "on-click": "pavucontrol" + } +} diff --git a/waybar/style.css b/waybar/style.css new file mode 100644 index 0000000..f12cc79 --- /dev/null +++ b/waybar/style.css @@ -0,0 +1,103 @@ +* { + /* `otf-font-awesome` is required to be installed for icons */ + font-family: Berkeley Mono; + font-size: 28px; + padding-top: 2px; + padding-bottom: 0px; +} + +window#waybar { + background-color: black; + color: #ffffff; +} + +button { + /* Use box-shadow instead of border so the text isn't offset */ + box-shadow: inset 0 -3px transparent; + /* Avoid rounded borders under each button name */ + border: none; + border-radius: 0; +} + +#tags button{ + padding: 0 8px; +} + +#tags button.occupied { + color: #FF8C00; +} + +#tags button:hover { + background: #FF8; +} + +#tags button.focused { + padding: 0 8px; + background-color: #FF8C00; + color: black; +} + +#window { + padding: 0px 16px; + background-color: #FF8C00; + color: black; +} + +#tags button.urgent { + background-color: #eb4d4b; +} + +#tray, +#clock { + padding-left: 8px; + background-color: black; + color: #FF8C00; +} + +#layout, +#battery, +#temperature, +#backlight, +#network, +#pulseaudio, +#wireplumber { + padding-right: 8px; + padding-left: 8px; + border-right: 2px solid #FF8C00; + background-color: black; + color: #FF8C00; +} + +label:focus { + background-color: #000000; +} + +#tray > .passive { + -gtk-icon-effect: dim; +} + +#tray > .needs-attention { + -gtk-icon-effect: highlight; + background-color: #eb4d4b; +} + +#privacy { + padding: 0; +} + +#privacy-item { + padding: 0 5px; + color: white; +} + +#privacy-item.screenshare { + background-color: #cf5700; +} + +#privacy-item.audio-in { + background-color: #1ca000; +} + +#privacy-item.audio-out { + background-color: #0069d4; +} |
