2023-01-24 03:29:33 -08:00
|
|
|
{{- if eq .host.distro.family "linux" -}}
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
### Restart GNOME
|
|
|
|
if command -v gnome-shell > /dev/null; then
|
2023-01-25 19:32:23 -08:00
|
|
|
logg info 'Manually reload `gnome-shell`'
|
|
|
|
# logg info 'Reloading `gnome-shell`'
|
|
|
|
# killall -3 gnome-shell
|
2023-01-30 23:01:26 -08:00
|
|
|
# Disabled because it causes the terminal window with the logs to close
|
|
|
|
# If you don't mind this, you can enable (logs are still stored at "${XDG_DATA_HOME:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log")
|
2023-01-24 03:29:33 -08:00
|
|
|
fi
|
|
|
|
|
|
|
|
{{ end -}}
|