2023-01-24 11:29:33 +00:00
|
|
|
{{- if eq .host.distro.family "linux" -}}
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
### Restart GNOME
|
|
|
|
if command -v gnome-shell > /dev/null; then
|
2023-01-26 03:32:23 +00:00
|
|
|
logg info 'Manually reload `gnome-shell`'
|
|
|
|
# logg info 'Reloading `gnome-shell`'
|
|
|
|
# killall -3 gnome-shell
|
2023-01-31 07:01:26 +00: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 11:29:33 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
{{ end -}}
|