install.fairie/home/.chezmoiscripts/universal/run_onchange_after_99-restart-gnome.tmpl

11 lines
207 B
Cheetah
Raw Normal View History

{{- if eq .host.distro.family "linux" -}}
#!/usr/bin/env bash
### Restart GNOME
if command -v gnome-shell > /dev/null; then
logg info 'Reloading `gnome-shell`'
killall -3 gnome-shell
fi
{{ end -}}