aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/waybar/config7
-rw-r--r--dotfiles/.config/waybar/style.css5
2 files changed, 11 insertions, 1 deletions
diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config
index 23d2f29..d58ffbd 100644
--- a/dotfiles/.config/waybar/config
+++ b/dotfiles/.config/waybar/config
@@ -20,6 +20,7 @@
"custom/pac-status",
"custom/news-status",
"custom/torrent-status",
+ "memory",
"custom/vpn-status",
"network",
"backlight",
@@ -76,7 +77,11 @@
"tooltip": false
},
"memory": {
- "format": "{}% "
+ "format": "<span color=\"#5b8277\"></span> {used:0.3f}G",
+ "states": {
+ "warning": 90
+ },
+ "interval": 10
},
"temperature": {
// "thermal-zone": 2,
diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css
index 3eb4199..887c3ab 100644
--- a/dotfiles/.config/waybar/style.css
+++ b/dotfiles/.config/waybar/style.css
@@ -33,6 +33,7 @@ window#waybar {
color: #000000;
}
#tray,
+#memory,
#battery,
#network,
#backlight,
@@ -43,6 +44,9 @@ window#waybar {
border-top: 2px solid #000000;
border-bottom: 2px solid #000000;
}
+#memory.warning {
+ color: #b2872f;
+}
#workspaces {
padding: 0;
}
@@ -67,6 +71,7 @@ window#waybar {
#mpd,
#tray,
#clock,
+#memory,
#battery,
#network,
#backlight,