diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index 32fbce0c..b4fc7f3a 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -40,7 +40,7 @@ monitor=`${config.wayland.windowManager.hyprland.package}/bin/hyprctl monitors | grep Monitor | awk '{print $2}'` for m in ''${monitor[@]}; do random_background=$(ls $directory/*.{png,jpg} | shuf -n 1) - ${lib.getExe pkgs.swaybg} -o $m -i $random_background & + ${lib.getExe pkgs.swaybg} -o $m -i $random_background -m fill & NEW_PIDS+=($!) done diff --git a/homeManagerModules/desktop/sway/randomWallpaper.nix b/homeManagerModules/desktop/sway/randomWallpaper.nix index fec6f674..f0bd62ce 100644 --- a/homeManagerModules/desktop/sway/randomWallpaper.nix +++ b/homeManagerModules/desktop/sway/randomWallpaper.nix @@ -17,7 +17,7 @@ monitor=`${lib.getExe' config.wayland.windowManager.sway.package "swaymsg"} -t get_outputs -p | grep Output | awk '{print $2}'` for m in ''${monitor[@]}; do random_background=$(ls $directory/*.{png,jpg} | shuf -n 1) - ${lib.getExe pkgs.swaybg} -o $m -i $random_background & + ${lib.getExe pkgs.swaybg} -o $m -i $random_background -m fill & NEW_PIDS+=($!) done diff --git a/hosts/mauville/home.nix b/hosts/mauville/home.nix index bfd2135b..dc74b532 100644 --- a/hosts/mauville/home.nix +++ b/hosts/mauville/home.nix @@ -1,72 +1,19 @@ { - inputs, config, - pkgs, + inputs, lib, + pkgs, ... }: { home-manager = { sharedModules = [ { - programs.vscode.userSettings = { - "editor.fontSize" = "16"; - }; xdg.userDirs.music = "/mnt/Media/Music"; alyraffauf = { desktop = { hyprland.autoSuspend = false; sway.autoSuspend = false; }; - theme = lib.mkForce { - enable = true; - gtk = { - name = "Catppuccin-Latte-Compact-Mauve-Light"; - package = pkgs.catppuccin-gtk.override { - accents = ["mauve"]; - size = "compact"; - variant = "latte"; - tweaks = ["normal"]; - }; - }; - qt = { - name = "Catppuccin-Latte-Mauve"; - package = pkgs.catppuccin-kvantum.override { - accent = "Mauve"; - variant = "Latte"; - }; - }; - iconTheme = { - name = "Papirus-Light"; - package = pkgs.catppuccin-papirus-folders.override { - flavor = "latte"; - accent = "mauve"; - }; - }; - cursorTheme = { - name = "Catppuccin-Latte-Dark-Cursors"; - size = 32; - package = pkgs.catppuccin-cursors.latteDark; - }; - font = { - name = "NotoSans Nerd Font"; - size = 14; - package = pkgs.nerdfonts.override {fonts = ["Noto"];}; - }; - terminalFont = { - name = "NotoSansM Nerd Font"; - size = 14; - package = pkgs.nerdfonts.override {fonts = ["Noto"];}; - }; - colors = { - preferDark = false; - text = "#4c4f69"; - background = "#eff1f5"; - primary = "#8839ef"; - secondary = "#04a5e5"; - inactive = "#626880"; - shadow = "#1A1A1A"; - }; - }; }; } ];