diff --git a/dot_config/waybar/config.tmpl b/dot_config/waybar/config.tmpl index 1892519..4383e73 100644 --- a/dot_config/waybar/config.tmpl +++ b/dot_config/waybar/config.tmpl @@ -55,12 +55,7 @@ {{- end }} ], - {{- if $tags.niri }} - "niri/workspaces": { - "format": "{value}", - "all-outputs": true - }, - {{- else if $tags.hyprland }} + {{- if $tags.hyprland }} "hyprland/workspaces": { "format": "{icon}", "all-outputs": true, @@ -88,6 +83,11 @@ "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1" }, + {{- else if $tags.niri }} + "niri/workspaces": { + "format": "{value}", + "all-outputs": true + }, {{- end }} "cpu": {