Avoid hard-coding the username
This commit is contained in:
parent
2b936b83a1
commit
333ab636cc
4 changed files with 4 additions and 4 deletions
|
|
@ -6,4 +6,4 @@ mkdir -p ~/Pictures/screenshots
|
|||
|
||||
pre-commit install
|
||||
|
||||
sudo usermod --append --groups dialout ohad
|
||||
sudo usermod --append --groups dialout "${USER}"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
source /home/ohad/.profile
|
||||
source "$(systemd-path user)"/.profile
|
||||
exec /usr/bin/sway
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue