mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-10-09 16:21:54 +05:30
feat(hyprland): replace swaybg with hyprpaper
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
{pkgs, ...}: {
|
||||
imports = [./hyprlock.nix];
|
||||
imports = [
|
||||
./hyprlock.nix
|
||||
./hyprpaper.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [astal];
|
||||
|
||||
@@ -61,6 +64,11 @@
|
||||
"col.inactive_border" = inactive_border_col;
|
||||
};
|
||||
|
||||
misc = {
|
||||
disable_hyprland_logo = true;
|
||||
force_default_wallpaper = 1;
|
||||
};
|
||||
|
||||
ecosystem = {
|
||||
no_update_news = true;
|
||||
no_donation_nag = true;
|
||||
@@ -271,7 +279,7 @@
|
||||
# load hyprland plugins
|
||||
"hyprctl plugin load '$HYPR_PLUGIN_DIR/lib/libhyprexpo.so'"
|
||||
|
||||
"${pkgs.swaybg}/bin/swaybg -i ~/Wallpapers/mountain.jpg"
|
||||
"hyprpaper"
|
||||
"${pkgs.tpanel}/bin/tpanel"
|
||||
"copyq"
|
||||
];
|
||||
|
21
modules/home/desktop/hyprland/hyprpaper.nix
Normal file
21
modules/home/desktop/hyprland/hyprpaper.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{pkgs, ...}: {
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
ipc = "on";
|
||||
splash = false;
|
||||
splash_offset = 2.0;
|
||||
|
||||
preload = [
|
||||
"~/Wallpapers/mountain.jpg"
|
||||
];
|
||||
|
||||
wallpaper = [
|
||||
", ~/Wallpapers/mountain.jpg"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [hyprpaper];
|
||||
}
|
Reference in New Issue
Block a user