summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/waybar
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/hyprland/.config/waybar')
-rw-r--r--dotfiles/hyprland/.config/waybar/config21
-rw-r--r--dotfiles/hyprland/.config/waybar/style.css54
2 files changed, 52 insertions, 23 deletions
diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config
index c7cc0a7..fdff160 100644
--- a/dotfiles/hyprland/.config/waybar/config
+++ b/dotfiles/hyprland/.config/waybar/config
@@ -17,6 +17,7 @@
"group/sysmonitor",
"custom/netspeed",
"wireplumber",
+ "idle_inhibitor",
"tray",
"clock"
],
@@ -27,7 +28,7 @@
"cpu",
"temperature",
"memory",
- "disk",
+ "custom/disk",
"battery"
]
},
@@ -61,6 +62,7 @@
"interval": 10,
"hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:18.3/hwmon",
"input-filename": "temp1_input",
+ "warning-threshold": 70,
"critical-threshold": 80,
"format": "<span size='large'>󰔏</span> {temperatureC}°C",
"format-critical": "<span size='large'>󰸁</span> {temperatureC}°C",
@@ -73,10 +75,11 @@
"on-click": "toggle-scratchpad monitor"
},
- "disk": {
+ "custom/disk": {
+ "exec": "waybar-disk",
+ "return-type": "json",
"interval": 30,
- "format": "<span size='large'>󰆼</span> {percentage_used}%",
- "path": "/",
+ "format": "<span size='large'>󰆼</span> {}",
"on-click": "toggle-scratchpad monitor"
},
@@ -122,5 +125,15 @@
"on-click-right": "toggle-scratchpad audio",
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
+ },
+
+ "idle_inhibitor": {
+ "format": "<span size='large'>{icon}</span>",
+ "format-icons": {
+ "activated": "󰅶",
+ "deactivated": "󰾪"
+ },
+ "tooltip-format-activated": "Idle inhibitor: ON (screen will not lock)",
+ "tooltip-format-deactivated": "Idle inhibitor: OFF"
}
}
diff --git a/dotfiles/hyprland/.config/waybar/style.css b/dotfiles/hyprland/.config/waybar/style.css
index e83f851..299f1c2 100644
--- a/dotfiles/hyprland/.config/waybar/style.css
+++ b/dotfiles/hyprland/.config/waybar/style.css
@@ -1,5 +1,5 @@
-/* Waybar style - Dupre theme */
-/* Warm, earthy colors from dupre-theme.el */
+/* Waybar style - Hudson theme */
+/* Tomorrow Night + Goldenrod accent */
* {
border: none;
@@ -22,34 +22,34 @@ window#waybar {
padding: 0.5rem;
margin: 0.2rem;
background-color: transparent;
- color: #969385;
+ color: #bbbbbb;
border-radius: 1rem;
transition: all 0.3s ease;
}
#workspaces button.active {
- background: #d7af5f;
- color: #151311;
+ background: #daa520;
+ color: #222222;
border-radius: 1rem;
}
#workspaces button.urgent {
- background-color: rgba(212, 124, 89, 0.4);
+ background-color: rgba(255, 88, 88, 0.4);
}
.modules-right, .modules-left {
- background-color: #151311;
+ background-color: #222222;
border-radius: 1rem;
padding: 0.2rem 0.6rem;
margin: 0.3rem;
- border: 0.095rem solid #d7af5f;
+ border: 0.095rem solid #daa520;
box-shadow: 0rem 0.2rem 0.4rem rgba(0,0,0,0.5);
}
#cpu,
#temperature,
#memory,
-#disk,
+#custom-disk,
#custom-netspeed,
#battery,
#wireplumber,
@@ -59,7 +59,7 @@ window#waybar {
#window {
padding: 0.4rem;
margin: 0.3rem;
- color: #969385;
+ color: #bbbbbb;
background-color: transparent;
border-radius: 1rem;
}
@@ -73,33 +73,49 @@ window#waybar {
#cpu:hover,
#temperature:hover,
#memory:hover,
-#disk:hover,
+#custom-disk:hover,
#custom-netspeed:hover,
#wireplumber:hover,
#sysmonitor:hover,
#custom-layout:hover {
- background-color: #474544;
+ background-color: #444444;
border-radius: 1rem;
}
#clock {
- color: #f0fef0;
+ color: #eeeeee;
}
#wireplumber {
- color: #969385;
+ color: #bbbbbb;
}
-#wireplumber.muted {
- color: #58574e;
+#custom-netspeed.disconnected {
+ color: #ff5858;
+}
+
+#temperature.warning {
+ color: #daa520;
+}
+
+#temperature.critical {
+ color: #ff5858;
+}
+
+#custom-disk.warning {
+ color: #daa520;
+}
+
+#custom-disk.critical {
+ color: #ff5858;
}
#battery.warning {
- color: #d7af5f;
+ color: #daa520;
}
#battery.critical {
- color: #d47c59;
+ color: #ff5858;
}
#tray > .passive {
@@ -108,5 +124,5 @@ window#waybar {
#tray > .needs-attention {
-gtk-icon-effect: highlight;
- background-color: #d7af5f;
+ background-color: #daa520;
}