mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 01:33: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}'`
|
monitor=`${config.wayland.windowManager.hyprland.package}/bin/hyprctl monitors | grep Monitor | awk '{print $2}'`
|
||||||
for m in ''${monitor[@]}; do
|
for m in ''${monitor[@]}; do
|
||||||
random_background=$(ls $directory/*.{png,jpg} | shuf -n 1)
|
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+=($!)
|
NEW_PIDS+=($!)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
monitor=`${lib.getExe' config.wayland.windowManager.sway.package "swaymsg"} -t get_outputs -p | grep Output | awk '{print $2}'`
|
monitor=`${lib.getExe' config.wayland.windowManager.sway.package "swaymsg"} -t get_outputs -p | grep Output | awk '{print $2}'`
|
||||||
for m in ''${monitor[@]}; do
|
for m in ''${monitor[@]}; do
|
||||||
random_background=$(ls $directory/*.{png,jpg} | shuf -n 1)
|
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+=($!)
|
NEW_PIDS+=($!)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -1,72 +1,19 @@
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
config,
|
config,
|
||||||
pkgs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
{
|
{
|
||||||
programs.vscode.userSettings = {
|
|
||||||
"editor.fontSize" = "16";
|
|
||||||
};
|
|
||||||
xdg.userDirs.music = "/mnt/Media/Music";
|
xdg.userDirs.music = "/mnt/Media/Music";
|
||||||
alyraffauf = {
|
alyraffauf = {
|
||||||
desktop = {
|
desktop = {
|
||||||
hyprland.autoSuspend = false;
|
hyprland.autoSuspend = false;
|
||||||
sway.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