Compare commits

...

6 commits

5 changed files with 17 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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