aboutsummaryrefslogtreecommitdiff
path: root/laptop/.config/waybar
diff options
context:
space:
mode:
Diffstat (limited to 'laptop/.config/waybar')
-rw-r--r--laptop/.config/waybar/config.jsonc7
-rw-r--r--laptop/.config/waybar/style.css6
2 files changed, 12 insertions, 1 deletions
diff --git a/laptop/.config/waybar/config.jsonc b/laptop/.config/waybar/config.jsonc
index 54bae5e..162f151 100644
--- a/laptop/.config/waybar/config.jsonc
+++ b/laptop/.config/waybar/config.jsonc
@@ -2,7 +2,7 @@
"layer": "top",
"modules-left": ["hyprland/workspaces"],
"modules-center": ["hyprland/window"],
- "modules-right": ["hyprland/language", "wireplumber", "cpu", "memory", "network", "battery", "clock"],
+ "modules-right": ["hyprland/language", "wireplumber", "backlight", "cpu", "memory", "network", "battery", "clock"],
"hyprland/workspaces": {
"format": "{id}{icon}",
"format-icons": {
@@ -27,6 +27,11 @@
"format-muted": "{volume}% ",
"tooltip": false
},
+ "backlight": {
+ "format": "{percent}% {icon}",
+ "format-icons": ["󰃞", "󰃟", "󰃠"],
+ "tooltip": false
+ },
"cpu": {
"format": "{usage}% ",
"interval": 3
diff --git a/laptop/.config/waybar/style.css b/laptop/.config/waybar/style.css
index 51e3f32..aeb8e52 100644
--- a/laptop/.config/waybar/style.css
+++ b/laptop/.config/waybar/style.css
@@ -56,6 +56,7 @@ tooltip label {
#battery,
#cpu,
#memory,
+#backlight,
#network,
#wireplumber {
padding: 0 10px;
@@ -121,6 +122,11 @@ label:focus {
background-color: #720f4f;
}
+#backlight {
+ background-color: #b0d1d1;
+ color: #000000;
+}
+
#network {
background-color: #2980b9;
}