Avoid hard-coding the username

This commit is contained in:
Ohad Livne 2025-06-05 20:33:21 +03:00
parent 2b936b83a1
commit 333ab636cc
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
4 changed files with 4 additions and 4 deletions

View file

@ -6,4 +6,4 @@ mkdir -p ~/Pictures/screenshots
pre-commit install
sudo usermod --append --groups dialout ohad
sudo usermod --append --groups dialout "${USER}"

View file

@ -301,4 +301,4 @@ include /etc/sway/config.d/*
exec systemctl --user import-environment XDG_CURRENT_DESKTOP
exec dbus-update-activation-environment --systemd XDG_CURRENT_DESKTOP=sway
output * bg /home/ohad/Documents/wallpapers/solar-system.jpg fill
output * bg ~/Documents/wallpapers/solar-system.jpg fill

View file

@ -2,6 +2,6 @@
podman run \
--rm \
--volume /home/ohad/Sync/docker:/shared \
--volume "$(systemd-path user)"/Sync/docker:/shared \
emacs_compile:latest \
sh -c "cp /src/emacs-tide*_amd64.deb /shared"

View file

@ -3,5 +3,5 @@
set -euo pipefail
IFS=$'\n\t'
source /home/ohad/.profile
source "$(systemd-path user)"/.profile
exec /usr/bin/sway