From bf7be1613857c472eee3252de62f63a857a31b3b 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..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 From 5a7b956474d86b188e4f75dcba7d2ed0ad2b1542 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 3709ebbf83feb96fd41109deb7ab69525d72c404 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 bacb1424d0f6c8031c89847c42c6d291885766f6 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 1a9bb8c07cca472cb8a2e8dab59d72e18090c96d 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 fe95d7e81526be250e69028faac3de1ec259341c 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