diff --git a/home/.chezmoiscripts/run_after_81-install-gnome-extensions.sh.tmpl b/home/.chezmoiscripts/run_after_81-install-gnome-extensions.sh.tmpl index 4ae9f1e..9863cb0 100644 --- a/home/.chezmoiscripts/run_after_81-install-gnome-extensions.sh.tmpl +++ b/home/.chezmoiscripts/run_after_81-install-gnome-extensions.sh.tmpl @@ -24,7 +24,7 @@ function is_gnome_extension_enabled() { wanted_extensions=( dash-to-panel@jderose9.github.com arcmenu@arcmenu.com - # {{ 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 user-theme@gnome-shell-extensions.gcampax.github.com # {{ end }} @@ -32,7 +32,7 @@ wanted_extensions=( unwanted_extensions=( clipboard-indicator@tudmotu.com - # {{ if semverCompare ">=22.04" .chezmoi.osRelease.versionID }} + # {{ if ge .chezmoi.osRelease.versionID "22.04" }} user-theme@gnome-shell-extensions.gcampax.github.com # {{ end }} ) diff --git a/home/.chezmoiscripts/run_after_82-configure-gnome.sh.tmpl b/home/.chezmoiscripts/run_after_82-configure-gnome.sh.tmpl index 0432028..e43c853 100644 --- a/home/.chezmoiscripts/run_after_82-configure-gnome.sh.tmpl +++ b/home/.chezmoiscripts/run_after_82-configure-gnome.sh.tmpl @@ -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 }}