diff options
Diffstat (limited to 'home/config/waybar')
-rw-r--r-- | home/config/waybar/config | 82 | ||||
-rw-r--r-- | home/config/waybar/config.hypr | 82 | ||||
-rw-r--r-- | home/config/waybar/style.css | 150 |
3 files changed, 314 insertions, 0 deletions
diff --git a/home/config/waybar/config b/home/config/waybar/config new file mode 100644 index 0000000..34cf25e --- /dev/null +++ b/home/config/waybar/config @@ -0,0 +1,82 @@ +{ + "height": 24, + "position": "top", + "layer": "bottom", + "spacing": 4, + "modules-left": [ + "sway/workspaces", + "sway/window" + ], + "modules-center": [], + "modules-right": [ + "cpu", + "memory", + "temperature", + "battery", + "backlight", + "wireplumber", + "network", + "clock", + "tray" + ], + "sway/workspaces": { + "disable-scroll": true, + "all-outputs": true, + "format": "{name}" + }, + "tray": { + "spacing": 10 + }, + "clock": { + "interval": 1, + "format": "{:%Y-%m-%d %a %H:%M:%S}" + }, + "cpu": { + "interval": 1, + "format": " {usage}%", + "tooltip": false + }, + "memory": { + "interval": 1, + "format": " {}%", + "tooltip": false + }, + "temperature": { + "interval": 1, + "thermal-zone": 0, + "critical-threshold": 80, + "format": " {temperatureC}°" + }, + "battery": { + "interval": 1, + "states": { + "warning": 30, + "critical": 15 + }, + "format": " {capacity}%", + "format-charging": " {capacity}%", + "format-plugged": " {capacity}%", + "format-full": " {capacity}%", + "format-warning": " {capacity}%", + "format-critical": " {capacity}%" + }, + "backlight": { + "format": " {percent}%" + }, + "wireplumber": { + "format": " {volume}%", + "format-bluetooth": " {volume}%", + "format-muted": " muted", + "scroll-step": 1, + "on-click": "pavucontrol", + "ignored-sinks": ["Easy Effects Sink"] + }, + "network": { + "format": " disconnected", + "format-wifi": " {essid}", + "format-ethernet": " {ipaddr}/{cidr}", + "format-disconnected": " disconnected", + "max-length": 50, + "on-click": "nm-connection-editor", + } +} diff --git a/home/config/waybar/config.hypr b/home/config/waybar/config.hypr new file mode 100644 index 0000000..7d9cabb --- /dev/null +++ b/home/config/waybar/config.hypr @@ -0,0 +1,82 @@ +{ + "height": 24, + "position": "top", + "layer": "top", + "spacing": 4, + "modules-left": [ + "hyprland/workspaces", + "hyprland/window" + ], + "modules-center": [], + "modules-right": [ + "cpu", + "memory", + "temperature", + "battery", + "backlight", + "wireplumber", + "network", + "clock", + "tray" + ], + "hyprland/workspaces": { + "disable-scroll": true, + "all-outputs": true, + "format": "{name}" + }, + "tray": { + "spacing": 10 + }, + "clock": { + "interval": 1, + "format": "{:%Y-%m-%d %a %H:%M:%S}" + }, + "cpu": { + "interval": 1, + "format": " {usage}%", + "tooltip": false + }, + "memory": { + "interval": 1, + "format": " {}%", + "tooltip": false + }, + "temperature": { + "interval": 1, + "thermal-zone": 0, + "critical-threshold": 80, + "format": " {temperatureC}°" + }, + "battery": { + "interval": 1, + "states": { + "warning": 30, + "critical": 15 + }, + "format": " {capacity}%", + "format-charging": " {capacity}%", + "format-plugged": " {capacity}%", + "format-full": " {capacity}%", + "format-warning": " {capacity}%", + "format-critical": " {capacity}%" + }, + "backlight": { + "format": " {percent}%" + }, + "wireplumber": { + "format": " {volume}%", + "format-bluetooth": " {volume}%", + "format-muted": " muted", + "scroll-step": 1, + "on-click": "pavucontrol", + "ignored-sinks": ["Easy Effects Sink"] + }, + "network": { + "format": " disconnected", + "format-wifi": " {essid}", + "format-ethernet": " {ipaddr}/{cidr}", + "format-disconnected": " disconnected", + "max-length": 50, + "on-click": "nm-connection-editor", + } +} diff --git a/home/config/waybar/style.css b/home/config/waybar/style.css new file mode 100644 index 0000000..0d159fd --- /dev/null +++ b/home/config/waybar/style.css @@ -0,0 +1,150 @@ +* { + font-family: "JetBrains Mono", "Font Awesome 6 Pro", monospace; + font-size: 13.5px; + transition: none; + margin: 0; + padding: 0; +} + +window#waybar { + background-color: transparent; +} + +window#waybar > box { + margin: 10px; + margin-bottom: 0px; + padding: 0; + color: #c7c6c3; +} + +button { + border: none; + border-radius: 0; +} + +.modules-left, +.modules-right { + margin: 0; + padding: 2px 0px; + background-color: #14171d; + border-radius: 4px; +} + +#workspaces { + padding: 0px 0px; +} + +#workspaces button { + all: initial; + box-shadow: inherit; + text-shadow: inherit; + color: #c7c6c3; + background-color: transparent; + border-radius: 4px; + padding: 2px 8px; +} + +#workspaces button:hover { + background-color: #1a2a3a; +} + +#workspaces button.focused, +#workspaces button.active { + background-color: #789ebf; + color: #14171d; +} + +#workspaces button.urgent { + background-color: #cc5c5c; +} + +#clock, +#battery, +#cpu, +#memory, +#disk, +#temperature, +#backlight, +#network, +#wireplumber, +#custom-media, +#tray, +#mode, +#idle_inhibitor, +#scratchpad, +#custom-cmus, +#custom-newsboat, +#mpd { + padding: 0 10px; + border-right: 1px solid #4d4754; + color: #c7c6c3; +} + +#tray { + border: none; +} + +#window { + padding: 0 10px; + border-left: 1px solid #4d4754; + color: #c7c6c3; +} + +#window, +#workspaces { + margin: 0 4px; +} + +#battery { + color: #97bd5e; +} + +#battery.warning:not(.charging) { + color: #f0c767; +} + +#battery.critical:not(.charging) { + color: #cc5c5c; +} + +#network.disconnected, +#wireplumber.muted { + color: #cc5c5c; +} + +#network.wifi, +#network.ethernet { + color: #789ebf; +} + +#wireplumber { + color: #E0DB5F; +} + +#backlight { + color: #E05F91; +} + +#cpu { + color: #789ebf; +} + +#memory { + color: #a97fb3; +} + +#temperature { + color: #97bd5e; +} + +#temperature.critical { + color: #cc5c5c; +} + +#tray > .passive { + -gtk-icon-effect: dim; +} + +#tray > .needs-attention { + -gtk-icon-effect: highlight; +} |