diff --git a/.config/setup/12-setup-packages.sh b/.config/setup/12-setup-packages.sh index 48c0136..6c3ad50 100755 --- a/.config/setup/12-setup-packages.sh +++ b/.config/setup/12-setup-packages.sh @@ -3,7 +3,17 @@ set -euo pipefail IFS=$'\n\t' -systemctl --user enable --now syncthing.service +USER_UNITS=( + # keep-sorted start + podman-auto-update.timer + podman-clean-transient.service + syncthing.service + # keep-sorted end +) + +for unit in "${USER_UNITS[@]}"; do + systemctl --user enable --now "${unit}" +done mkdir --parents ~/Pictures/screenshots diff --git a/.config/setup/sources.list.d/tor.sources b/.config/setup/sources.list.d/tor.sources index 738abdf..c8ee499 100644 --- a/.config/setup/sources.list.d/tor.sources +++ b/.config/setup/sources.list.d/tor.sources @@ -1,5 +1,5 @@ Types: deb deb-src URIs: https://deb.torproject.org/torproject.org -Suites: testing +Suites: ./testing Components: main Signed-By: /usr/share/keyrings/deb.torproject.org-keyring.pgp diff --git a/.config/sway/config b/.config/sway/config index 43bcd99..76c0f56 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -71,7 +71,7 @@ input type:touchpad { bindsym $launch+j exec $term zellij --layout jupyter attach --create jupyter # Start Emacs - bindsym $launch+e exec emacsclient --alternate-editor "" --create-frame + bindsym $launch+e exec emacsclient --alternate-editor "" --create-frame --no-wait # Start a browser bindsym $launch+f exec firefox --private-window diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2fbbd49..2d32394 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-ast - id: check-executables-have-shebangs @@ -10,20 +10,19 @@ repos: exclude: ^\.config/fcitx5/ - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.4 + rev: v0.13.1 hooks: - id: ruff args: [ --fix ] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v1.18.2 hooks: - id: mypy - repo: https://github.com/syntaqx/git-hooks rev: v0.0.18 hooks: - id: forbid-binary - exclude: ^\.local/share/jupyter/kernels/python3\.12/logo- - id: shellcheck - repo: https://github.com/Yelp/detect-secrets rev: v1.5.0 diff --git a/.profile b/.profile index 0fb6ca3..faf5244 100644 --- a/.profile +++ b/.profile @@ -43,4 +43,5 @@ done < <(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-g # Autolaunch sway for tty1 logins [ "$(tty)" = "/dev/tty1" ] && + zellij delete-all-sessions --yes exec systemd-cat --identifier sway sway