Add configuration for GNOME
This commit is contained in:
parent
46b9bacd18
commit
7804080953
47 changed files with 6899 additions and 0 deletions
|
|
@ -151,6 +151,31 @@ sh "$XDG_BIN_HOME/generate-shell-completions" --quieter \
|
|||
|| echo "WARN: generating shell completions failed" >&2
|
||||
|
||||
|
||||
if command -v python3 >/dev/null 2>&1; then
|
||||
|
||||
python3 -m \
|
||||
pip install \
|
||||
--user \
|
||||
--upgrade \
|
||||
--break-system-packages \
|
||||
coloraide \
|
||||
rofimoji \
|
||||
|| echo "WARN: pip install failed" >&2
|
||||
|
||||
python3 "$XDG_BIN_HOME/color-palette" --write \
|
||||
|| echo "WARN: color-palette failed" >&2
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if systemctl --user daemon-reload 2>/dev/null; then
|
||||
systemctl --user enable gnome-restore.service
|
||||
systemctl --user enable night-light-reset.timer
|
||||
else
|
||||
echo "WARN: no systemd user session, units not enabled" >&2
|
||||
fi
|
||||
|
||||
|
||||
# Keep only the most recent backups
|
||||
_keep=10
|
||||
if [ -d "$BACKUPS_DIR" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue