aboutsummaryrefslogtreecommitdiff
path: root/dot_config/waybar
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/waybar')
-rw-r--r--dot_config/waybar/config50
-rw-r--r--dot_config/waybar/style.css53
2 files changed, 103 insertions, 0 deletions
diff --git a/dot_config/waybar/config b/dot_config/waybar/config
new file mode 100644
index 0000000..a9f29cc
--- /dev/null
+++ b/dot_config/waybar/config
@@ -0,0 +1,50 @@
+{
+ "layer": "top",
+ "position": "top",
+ "height": 28,
+
+ "modules-left": ["hyprland/workspaces"],
+ "modules-center": ["hyprland/window"],
+ "modules-right": ["cpu", "memory", "network", "pulseaudio", "clock"],
+
+ "hyprland/workspaces": {
+ "disable-scroll": true,
+ "all-outputs": false,
+ "format": "{name}",
+ "on-click": "activate"
+ },
+
+ "hyprland/window": {
+ "format": "{}",
+ "max-length": 60
+ },
+
+ "cpu": {
+ "format": " {usage}%",
+ "interval": 2
+ },
+
+ "memory": {
+ "format": " {used:0.1f}G",
+ "interval": 5
+ },
+
+ "network": {
+ "format": " {bandwidthDownBits}  {bandwidthUpBits}",
+ // "format-wifi": " {essid}",
+ // "format-ethernet": "󰈀 eth",
+ "format-disconnected": "⚠ offline",
+ "interval": 5
+ },
+
+ "pulseaudio": {
+ "format": " {volume}%",
+ "format-muted": " muted",
+ "on-click": "pavucontrol"
+ },
+
+ "clock": {
+ "format": " {:%H:%M}",
+ "tooltip-format": "{:%Y-%m-%d %H:%M:%S}"
+ }
+}
diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css
new file mode 100644
index 0000000..67a2939
--- /dev/null
+++ b/dot_config/waybar/style.css
@@ -0,0 +1,53 @@
+* {
+ border: none;
+ border-radius: 0;
+ font-family: "JetBrainsMono Nerd Font", monospace;
+ font-size: 12px;
+ min-height: 0;
+}
+
+window#waybar {
+ background: #1e1e2e;
+ color: #cdd6f4;
+}
+
+#workspaces button {
+ padding: 0 8px;
+ color: #6c7086;
+}
+
+#workspaces button.active {
+ color: #89b4fa;
+}
+
+#workspaces button:hover {
+ background: #313244;
+}
+
+#window {
+ color: #a6adc8;
+}
+
+#cpu, #memory, #network, #pulseaudio, #clock {
+ padding: 0 10px;
+}
+
+#clock {
+ color: #f9e2af;
+}
+
+#cpu {
+ color: #fab387;
+}
+
+#memory {
+ color: #f38ba8;
+}
+
+#network {
+ color: #89b4fa;
+}
+
+#pulseaudio {
+ color: #a6e3a1;
+}