Compare commits
6 commits
fe95d7e815
...
aa9f7be4b7
| Author | SHA1 | Date | |
|---|---|---|---|
| aa9f7be4b7 | |||
| 20fafdf44d | |||
| f59c0c5ac0 | |||
| 066338785c | |||
| 2726530e68 | |||
| b31b10192f |
5 changed files with 17 additions and 7 deletions
|
|
@ -3,7 +3,17 @@
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
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
|
mkdir --parents ~/Pictures/screenshots
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
Types: deb deb-src
|
Types: deb deb-src
|
||||||
URIs: https://deb.torproject.org/torproject.org
|
URIs: https://deb.torproject.org/torproject.org
|
||||||
Suites: testing
|
Suites: ./testing
|
||||||
Components: main
|
Components: main
|
||||||
Signed-By: /usr/share/keyrings/deb.torproject.org-keyring.pgp
|
Signed-By: /usr/share/keyrings/deb.torproject.org-keyring.pgp
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ input type:touchpad {
|
||||||
bindsym $launch+j exec $term zellij --layout jupyter attach --create jupyter
|
bindsym $launch+j exec $term zellij --layout jupyter attach --create jupyter
|
||||||
|
|
||||||
# Start Emacs
|
# 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
|
# Start a browser
|
||||||
bindsym $launch+f exec firefox --private-window
|
bindsym $launch+f exec firefox --private-window
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v5.0.0
|
rev: v6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-ast
|
- id: check-ast
|
||||||
- id: check-executables-have-shebangs
|
- id: check-executables-have-shebangs
|
||||||
|
|
@ -10,20 +10,19 @@ repos:
|
||||||
exclude: ^\.config/fcitx5/
|
exclude: ^\.config/fcitx5/
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.9.4
|
rev: v0.13.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [ --fix ]
|
args: [ --fix ]
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v1.14.1
|
rev: v1.18.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
- repo: https://github.com/syntaqx/git-hooks
|
- repo: https://github.com/syntaqx/git-hooks
|
||||||
rev: v0.0.18
|
rev: v0.0.18
|
||||||
hooks:
|
hooks:
|
||||||
- id: forbid-binary
|
- id: forbid-binary
|
||||||
exclude: ^\.local/share/jupyter/kernels/python3\.12/logo-
|
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
- repo: https://github.com/Yelp/detect-secrets
|
- repo: https://github.com/Yelp/detect-secrets
|
||||||
rev: v1.5.0
|
rev: v1.5.0
|
||||||
|
|
|
||||||
1
.profile
1
.profile
|
|
@ -43,4 +43,5 @@ done < <(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-g
|
||||||
|
|
||||||
# Autolaunch sway for tty1 logins
|
# Autolaunch sway for tty1 logins
|
||||||
[ "$(tty)" = "/dev/tty1" ] &&
|
[ "$(tty)" = "/dev/tty1" ] &&
|
||||||
|
zellij delete-all-sessions --yes &&
|
||||||
exec systemd-cat --identifier sway sway
|
exec systemd-cat --identifier sway sway
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue