Skip to content

Commit

Permalink
Fix use of semverCompare in chezmoi 2.55.0
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Dec 5, 2024
1 parent 10dd49f commit 37cd036
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ function is_gnome_extension_enabled() {
wanted_extensions=(
[email protected]
[email protected]
# {{ if semverCompare "<22.04" .chezmoi.osRelease.versionID }}
# {{ if lt .chezmoi.osRelease.versionID "22.04" }}
# Ubuntu 22.04+ comes with a nice (already dark) default shell theme
[email protected]
# {{ end }}
)

unwanted_extensions=(
[email protected]
# {{ if semverCompare ">=22.04" .chezmoi.osRelease.versionID }}
# {{ if ge .chezmoi.osRelease.versionID "22.04" }}
[email protected]
# {{ end }}
)
Expand Down
2 changes: 1 addition & 1 deletion home/.chezmoiscripts/run_after_82-configure-gnome.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ gsettings_ensure org.gnome.desktop.interface gtk-theme "Yaru-dark"
gsettings_ensure org.gnome.desktop.interface icon-theme "Yaru"
gsettings_ensure org.gnome.desktop.interface cursor-theme "Yaru"
gsettings_ensure org.gnome.desktop.sound theme-name "Yaru"
# {{ if semverCompare ">=22.04" .chezmoi.osRelease.versionID }}
# {{ if ge .chezmoi.osRelease.versionID ">=22.04" }}
gsettings_ensure org.gnome.desktop.interface color-scheme "prefer-dark"
# {{ else }}
# {{ if not .is_wsl }}
Expand Down

0 comments on commit 37cd036

Please sign in to comment.