fix hardcoded paths in wallpaper script and nvim symlink
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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" = {
|
||||
|
||||
Reference in New Issue
Block a user