diff options
| author | José Juan Loeza Sierra <jj@xz6ze.com> | 2026-03-25 21:04:54 -0700 |
|---|---|---|
| committer | José Juan Loeza Sierra <jj@xz6ze.com> | 2026-03-25 21:10:45 -0700 |
| commit | 288f9c41275288a2bd0193986f22206c81c2b5cf (patch) | |
| tree | d606d151fd747148f503102a8fb18af4d5d20ae0 /dot-config/waybar | |
| parent | 122fe182e2c0c0f7c0d8713fe78aef1e0ab8e15f (diff) | |
replace separator image with an icon
the image was KILLING my battery. Having the image maintained a
constant CPU pressure. Maybe a waybar bug? I couldn't find anything in
the GitHub issues.
Diffstat (limited to 'dot-config/waybar')
| -rw-r--r-- | dot-config/waybar/assets/panel-separator.png | bin | 116 -> 0 bytes | |||
| -rw-r--r-- | dot-config/waybar/config.jsonc | 9 | ||||
| -rw-r--r-- | dot-config/waybar/style.css | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/dot-config/waybar/assets/panel-separator.png b/dot-config/waybar/assets/panel-separator.png Binary files differdeleted file mode 100644 index 4ce033f..0000000 --- a/dot-config/waybar/assets/panel-separator.png +++ /dev/null diff --git a/dot-config/waybar/config.jsonc b/dot-config/waybar/config.jsonc index a7a8f5b..de07775 100644 --- a/dot-config/waybar/config.jsonc +++ b/dot-config/waybar/config.jsonc @@ -14,7 +14,7 @@ "network", "pulseaudio", "battery", - "image#separator", + "custom/separator", "clock", "custom/swaync", ], @@ -47,9 +47,10 @@ "escape": true }, - "image#separator": { - "path": "/home/jose/.config/waybar/assets/panel-separator.png", - }, + "custom/separator": { + "format": "", + "tooltip": false, + }, "clock": { // "timezone": "America/New_York", diff --git a/dot-config/waybar/style.css b/dot-config/waybar/style.css index 4b6a6ee..a7237b4 100644 --- a/dot-config/waybar/style.css +++ b/dot-config/waybar/style.css @@ -65,3 +65,7 @@ tooltip label { animation-iteration-count: infinite; animation-direction: alternate; } + +#custom-separator { + margin: 0px 8px 0px 8px; +} |
