From 946bb934f5c7424be6f7fb6d1e44010fa0717a74 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 6 Apr 2023 03:31:27 +0530 Subject: [PATCH] define wallpapers in hyprland config --- home/default.nix | 1 - home/misc.nix | 3 --- home/wm/hyprland/default.nix | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 home/misc.nix diff --git a/home/default.nix b/home/default.nix index 15083e2..5bda713 100644 --- a/home/default.nix +++ b/home/default.nix @@ -20,7 +20,6 @@ in hyprland.homeManagerModules.default ./gtk.nix - ./misc.nix ./persistence.nix ./wm ./programs diff --git a/home/misc.nix b/home/misc.nix deleted file mode 100644 index f219c52..0000000 --- a/home/misc.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ pkgs, ... }: { - xdg.dataFile."wallpapers/catppuccin".source = "${pkgs.catppuccin-wallpapers}/share/wallpapers"; -} diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 99c55c9..b6c8fac 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -42,7 +42,7 @@ in bind = SUPER_SHIFT,Return, exec, ${kitty} bind = SUPER,d, exec, ${rofi} -show drun bind = SUPER,l, exec, ${swaylock} -f -i /tmp/lockpaper.jpg - bind = SUPER_SHIFT,W, exec, ~/.config/scripts/chpaper.sh + bind = SUPER_SHIFT,W, exec, ${pkgs.scripts}/bin/chpaper ${pkgs.catppuccin-wallpapers}/share/wallpapers bind = SUPER_SHIFT,escape, exec, ${pkgs.scripts}/bin/power-menu bind = SUPER,f11, exec, ${pkgs.scripts}/bin/tmux-sessions