diff --git a/config/noctalia/default.nix b/config/noctalia/default.nix index ac3dd04ec..c7f265a13 100644 --- a/config/noctalia/default.nix +++ b/config/noctalia/default.nix @@ -65,7 +65,10 @@ in showNetworkStats = true; showGpuTemp = true; } - { id = "ActiveWindow"; } + { + id = "ActiveWindow"; + colorizeIcons = false; + } { id = "MediaMini"; } ]; widgets.center = [ @@ -81,6 +84,7 @@ in widgets.right = [ { id = "Tray"; + colorizeIcons = false; drawerEnabled = false; } { id = "Bluetooth"; } diff --git a/spec/noctalia_bar_spec.sh b/spec/noctalia_bar_spec.sh index 80ba841a1..4fd86ec8b 100644 --- a/spec/noctalia_bar_spec.sh +++ b/spec/noctalia_bar_spec.sh @@ -10,10 +10,16 @@ The output should include 'Brightness DarkMode ControlCenter' End It 'shows tray items inline instead of hiding them in the drawer' -When run bash -c "awk '/id = \"Tray\";/{in_tray=1} in_tray && /drawerEnabled = false;/{print; exit}' '$CONFIG'" +When run bash -c "awk '/id = \"Tray\";/{in_tray=1} in_tray && /^ }/{exit} in_tray{print}' '$CONFIG'" +The output should include 'colorizeIcons = false;' The output should include 'drawerEnabled = false;' End +It 'keeps active window app icons uncolorized' +When run bash -c "awk '/id = \"ActiveWindow\";/{in_active_window=1} in_active_window && /^ }/{exit} in_active_window{print}' '$CONFIG'" +The output should include 'colorizeIcons = false;' +End + It 'does not duplicate the workspace widget on the left bar' When run bash -c "awk '/widgets.left = \\[/{in_left=1} in_left && /id =/ {print} in_left && /^ \\];/{exit}' '$CONFIG'" The output should not include 'Workspace'