This commit is contained in:
2025-10-18 22:20:24 +02:00
parent 99b998402f
commit 057afc086e
2 changed files with 9 additions and 6 deletions

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
path="$(dirname "$(readlink -f "$0")")"
if [ -z "$1" ]; then
desktop="$XDG_CURRENT_DESKTOP"
else
@@ -11,8 +13,6 @@ for item in "kitty" "ghostty" "wlogout"; do
rm "$HOME/.config/$item"
path="$(dirname "$(readlink -f "$0")")"
if [ "$desktop" = "niri" ]; then
ln -s "$path/../$item-niri" "$HOME/.config/$item"
else