From 2ca58181050213f6fa5fdc95b27b0ab34f1674e8 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 9 Aug 2022 01:32:22 -0500 Subject: [PATCH] feat(waybar): add more bars --- dots/.config/waybar/config | 8 +++++++- dots/.config/waybar/style.css | 12 ++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/dots/.config/waybar/config b/dots/.config/waybar/config index 69272e5a..9c17afea 100644 --- a/dots/.config/waybar/config +++ b/dots/.config/waybar/config @@ -158,6 +158,9 @@ "modules-center": [ "sway/workspaces" ], + "modules-right": [ + "sway/language" + ], "sway/workspaces": { "tooltip": false, "disable-scroll": true, @@ -176,8 +179,11 @@ }, "custom/sway-mode": { "exec": "swaymsg -t get_binding_state | jq '.name' -r", - "format": " {}", + "format": " {}", "interval": 1 + }, + "sway/language": { + "format": " {long}" } } ] diff --git a/dots/.config/waybar/style.css b/dots/.config/waybar/style.css index 83f2a725..8834a03b 100644 --- a/dots/.config/waybar/style.css +++ b/dots/.config/waybar/style.css @@ -57,12 +57,14 @@ border-top: 2px solid @oniViolet; border-left: 2px solid @oniViolet; border-right: 2px solid @oniViolet; + color: @fujiWhite; } #custom-sway-mode { background: @sumiInk0; border-bottom: 2px solid @oniViolet; border-left: 2px solid @oniViolet; + color: @fujiWhite; } #workspaces { @@ -114,6 +116,7 @@ background: @sumiInk0; border-top: 2px solid @oniViolet; border-left: 2px solid @oniViolet; + color: @fujiWhite; } #network, @@ -123,6 +126,7 @@ background: @sumiInk0; border-top: 2px solid @oniViolet; border-right: 2px solid @oniViolet; + color: @fujiWhite; } #cpu, @@ -136,6 +140,7 @@ padding-right: 10px; border-top: 2px solid @oniViolet; border-left: 2px solid @oniViolet; + color: @fujiWhite; } #disk.critical { @@ -213,3 +218,10 @@ animation-iteration-count: infinite; animation-direction: alternate; } + +#language { + border-bottom: 2px solid @oniViolet; + border-right: 2px solid @oniViolet; + background: @sumiInk0; + color: @fujiWhite; +}