diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 5fd2d30..8ed62ea 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -78,10 +78,8 @@ input { repeat_rate = 50 } -exec-once = wl-paste --watch cliphist store exec-once = [ -f "${XDG_PICTURES_DIR:-$HOME/Pictures}/Screensavers/wallpaper.jpg" ] || ctl wallpaper wall exec-once = [ -f "${XDG_PICTURES_DIR:-$HOME/Pictures}/Screensavers/lock.jpg" ] || ctl wallpaper lock -exec-once = hyprpaper exec-once = hypr windowrules exec-once = hypr spawnfocus --ws 1 $TERMINAL -e mux exec-once = hypr spawnfocus --ws 2 $BROWSER diff --git a/home/modules/hyprland.nix b/home/modules/hyprland.nix index 18307e2..bc0fa40 100644 --- a/home/modules/hyprland.nix +++ b/home/modules/hyprland.nix @@ -50,7 +50,6 @@ in home.packages = lib.optionals hostConfig.isNixOS [ pkgs.xdg-desktop-portal-gtk - pkgs.hyprpaper ] ++ [ pkgs.hyprlock @@ -59,14 +58,16 @@ in xdg.configFile."hypr/themes/midnight.conf".text = mkHyprTheme config.palettes.midnight; xdg.configFile."hypr/themes/daylight.conf".text = mkHyprTheme config.palettes.daylight; - xdg.configFile."hypr/hyprpaper.conf".text = '' - wallpaper { - monitor = - path = ${config.xdg.userDirs.pictures}/Screensavers/wallpaper.jpg - } - - splash = false - ''; + services.hyprpaper = { + enable = true; + settings = { + splash = false; + wallpaper = { + monitor = ""; + path = "${config.xdg.userDirs.pictures}/Screensavers/wallpaper.jpg"; + }; + }; + }; xdg.configFile."hypr/hyprlock.conf".text = let diff --git a/home/modules/ui.nix b/home/modules/ui.nix index 794862b..18cffc2 100644 --- a/home/modules/ui.nix +++ b/home/modules/ui.nix @@ -82,7 +82,6 @@ in psmisc fuzzel wl-clipboard - cliphist grim slurp wf-recorder @@ -292,6 +291,8 @@ in ''; }; + services.cliphist.enable = true; + services.dunst = { enable = true; settings = {