mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
randomWallpaper: fill instead of fit
This commit is contained in:
parent
90992cd957
commit
1a9b0d2cbe
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue