diff options
author | Mathias Magnusson <mathias@magnusson.space> | 2025-07-01 20:13:17 +0200 |
---|---|---|
committer | Mathias Magnusson <mathias@magnusson.space> | 2025-07-01 20:13:17 +0200 |
commit | 966078bac05139003ac2be032c185020895fb77a (patch) | |
tree | 7d93335d3346fe887a07a099c558cd5821e572fc | |
parent | fb628935931002ff0e602b4ddb9bd7ec8b8de310 (diff) | |
download | sleipner-966078bac05139003ac2be032c185020895fb77a.tar.gz |
make symlinks also automatically be symlinked to ~/
5 files changed, 5 insertions, 1 deletions
diff --git a/dot-config/systemd/user/default.target.wants/pipewire-pulse.service b/dot-config/systemd/user/default.target.wants/pipewire-pulse.service new file mode 120000 index 0000000..f631f69 --- /dev/null +++ b/dot-config/systemd/user/default.target.wants/pipewire-pulse.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/pipewire-pulse.service
\ No newline at end of file diff --git a/dot-config/systemd/user/default.target.wants/pipewire-pulse.socket b/dot-config/systemd/user/default.target.wants/pipewire-pulse.socket new file mode 120000 index 0000000..45f6209 --- /dev/null +++ b/dot-config/systemd/user/default.target.wants/pipewire-pulse.socket @@ -0,0 +1 @@ +/usr/lib/systemd/user/pipewire-pulse.socket
\ No newline at end of file diff --git a/dot-config/systemd/user/default.target.wants/yubikey-agent.service b/dot-config/systemd/user/default.target.wants/yubikey-agent.service new file mode 120000 index 0000000..c9efe90 --- /dev/null +++ b/dot-config/systemd/user/default.target.wants/yubikey-agent.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/yubikey-agent.service
\ No newline at end of file diff --git a/dot-config/systemd/user/niri.service.wants/mako.service b/dot-config/systemd/user/niri.service.wants/mako.service new file mode 120000 index 0000000..e445bda --- /dev/null +++ b/dot-config/systemd/user/niri.service.wants/mako.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/mako.service
\ No newline at end of file @@ -5,7 +5,7 @@ set homedirs dot-config dot-local-bin for dir in $homedirs set -l target_base $HOME/(string replace '-' '/' (string replace -r '^dot-' '.' $dir)) - for file in (find $dir -type f) + for file in (find -L $dir -type f) set -l src "$(pwd)/$file" set -l dst (string replace -r "^$dir/" "$target_base/" $file) if [ -L $dst -a "$(readlink $dst)" = $src ] |