From b31b10192f690fb8f3fbe1a7be03079b05320dbc Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Sat, 13 Sep 2025 17:20:16 +0300 Subject: [PATCH 1/6] Clean up zellij sessions between boots --- .profile | 1 + 1 file changed, 1 insertion(+) diff --git a/.profile b/.profile index 0fb6ca3..c1e9129 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 From 2726530e684b42b047caec787f17d56c2edee5c8 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Sat, 13 Sep 2025 17:21:28 +0300 Subject: [PATCH 2/6] Remove old exclusion path --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2fbbd49..2b3d9e4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,6 @@ repos: 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 From 066338785c6121af5a7e3ff7e1c0edf0a038db39 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Fri, 19 Sep 2025 14:22:16 +0300 Subject: [PATCH 3/6] Fix the suite declaration for the Tor Project repository --- .config/setup/sources.list.d/tor.sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From f59c0c5ac04b44e27695d33cdbd9b626a4ab41ec Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 24 Sep 2025 17:20:34 +0300 Subject: [PATCH 4/6] Update pre-commit hooks --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2b3d9e4..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,13 +10,13 @@ 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 From 20fafdf44df22cc410c85f1aa2610901aa36984a Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Sat, 27 Sep 2025 18:27:52 +0300 Subject: [PATCH 5/6] Enable podman housekeeping services --- .config/setup/12-setup-packages.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 From aa9f7be4b7fab27d3ceadd52f43122417707f2bb Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Fri, 3 Oct 2025 18:17:33 +0300 Subject: [PATCH 6/6] Start the Emacs client as an async process --- .config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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