Mercurial > dotfiles
diff .chezmoiscripts/run_once_after_16-configure-ubuntu-gnome.sh.tmpl @ 808:459e70c99f4c
ci: add test image
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 03 Dec 2023 22:24:26 +0100 |
parents | fa76b30a3c2f |
children |
line wrap: on
line diff
--- a/.chezmoiscripts/run_once_after_16-configure-ubuntu-gnome.sh.tmpl Sat Dec 02 00:17:39 2023 +0100 +++ b/.chezmoiscripts/run_once_after_16-configure-ubuntu-gnome.sh.tmpl Sun Dec 03 22:24:26 2023 +0100 @@ -2,7 +2,10 @@ {{ if eq .chezmoi.osRelease.name "Ubuntu" -}} #!/usr/bin/env bash -dconf write /org/gnome/desktop/input-sources/xkb-options "['ctrl:nocaps']" +if [ -x "$(command -v dconf)" ]; then + dconf write /org/gnome/desktop/input-sources/xkb-options "['ctrl:nocaps']" + +fi {{- end }} {{- end }}