fix hardcoded paths in wallpaper script and nvim symlink

This commit is contained in:
2026-06-13 11:30:53 +02:00
parent e1783ce608
commit 651c3fab54
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/sh
WALLPAPER=$(find "$HOME/nixos-dotfiles/config/sway/wallpapers" -maxdepth 1 -type f \( -name "*.png" -o -name "*.jpg" -o -name "*.jpeg" \) | shuf -n 1)
WALLPAPER=$(find "$HOME/.config/sway/wallpapers" -maxdepth 1 -type f \( -name "*.png" -o -name "*.jpg" -o -name "*.jpeg" \) | shuf -n 1)
awww img "$WALLPAPER" --transition-type random --transition-duration 2 --transition-fps 60
+1 -1
View File
@@ -236,7 +236,7 @@
# ── Config files ─────────────────────────────────────────────────────────────
xdg.configFile."fuzzel/fuzzel.ini".source = ./config/fuzzel/fuzzel.ini;
xdg.configFile."nvim" = {
source = config.lib.file.mkOutOfStoreSymlink "/home/ulve/nixos-dotfiles/config/nvim";
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-dotfiles/config/nvim";
};
xdg.configFile."sway".source = ./config/sway;
home.file.".local/bin/wallpaper.sh" = {