diff options
author | Freya Murphy <freya@freyacat.org> | 2024-04-05 15:11:06 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-04-05 15:11:06 -0400 |
commit | 7d1caf4249319180f637cd3d1a1f7d9a5bffe141 (patch) | |
tree | 44b167845f0dbb42b3c6a3a1d6e492318d5aa92b /.config/waybar | |
parent | update init script and configs (diff) | |
download | dotfiles-arch-7d1caf4249319180f637cd3d1a1f7d9a5bffe141.tar.gz dotfiles-arch-7d1caf4249319180f637cd3d1a1f7d9a5bffe141.tar.bz2 dotfiles-arch-7d1caf4249319180f637cd3d1a1f7d9a5bffe141.zip |
hi
Diffstat (limited to '.config/waybar')
-rw-r--r-- | .config/waybar/config.hypr | 82 | ||||
-rw-r--r-- | .config/waybar/style.css | 8 |
2 files changed, 88 insertions, 2 deletions
diff --git a/.config/waybar/config.hypr b/.config/waybar/config.hypr new file mode 100644 index 0000000..7d9cabb --- /dev/null +++ b/.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/.config/waybar/style.css b/.config/waybar/style.css index 6deb5d7..0e61f84 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -31,9 +31,12 @@ button { border-radius: 0; } +.modules-left { + margin-left: -4px; +} + #workspaces button { all: initial; - margin: 1px 0px; padding: 0px 8px; color: #c7c6c3; background-color: rgba(0, 0, 0, 0); @@ -44,7 +47,8 @@ button { text-shadow: inherit; } -#workspaces button.focused { +#workspaces button.focused, +#workspaces button.active { background-color: #789ebf; color: #14171d; box-shadow: inherit; |