diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2020-11-12 16:59:13 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2020-11-12 16:59:13 +0300 |
commit | 76aff0f846111576534f4aa77e602a5d502154cb (patch) | |
tree | 1c8d186a72384080e1732cfaf78bfb0bc2f7fb96 /dotfiles/.config/waybar/config | |
parent | 7b079d20ab5a4bd29a0edb027c159cc6a3de8ce5 (diff) | |
download | swayrice-76aff0f846111576534f4aa77e602a5d502154cb.tar.gz swayrice-76aff0f846111576534f4aa77e602a5d502154cb.zip |
waybar: show used memory
Diffstat (limited to 'dotfiles/.config/waybar/config')
-rw-r--r-- | dotfiles/.config/waybar/config | 7 |
1 files changed, 6 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, |