diff --git a/dots/.config/waybar/config b/dots/.config/waybar/config index d263945a..8794f2d0 100644 --- a/dots/.config/waybar/config +++ b/dots/.config/waybar/config @@ -6,6 +6,7 @@ "idle_inhibitor", "cpu", "temperature", + "custom/asusmode", "memory", "battery", "disk", @@ -85,7 +86,7 @@ "奄", "奔", "墳" - ], + ] }, "on-click": "pw-volume mute toggle; pkill -RTMIN+8 waybar", "exec": "pw-volume status" @@ -124,6 +125,11 @@ ] } }, + "custom/asusmode": { + "interval": 1, + "format": " {}", + "exec": "asusctl profile -p | awk '{print $NF}'" + }, "memory": { "format": " {percentage}%", "tooltip-format": "{used:0.1f}GB/{total:0.1f}GB ", @@ -149,7 +155,7 @@ "escape": true }, "wlr/workspaces": { - "on-click": "activate", + "on-click": "activate" } }, { diff --git a/dots/.config/waybar/style.css b/dots/.config/waybar/style.css index 16f9b7ce..61dfa508 100644 --- a/dots/.config/waybar/style.css +++ b/dots/.config/waybar/style.css @@ -60,6 +60,13 @@ color: @fujiWhite; } +#custom-asusmode { + background: @sumiInk0; + border-top: 2px solid @oniViolet; + border-left: 2px solid @oniViolet; + color: @fujiWhite; +} + #custom-sway-mode { background: @sumiInk0; border-bottom: 2px solid @oniViolet;