summaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config.hypr82
-rw-r--r--.config/waybar/style.css8
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;