default wallpaper
This commit is contained in:
parent
2bb37281ac
commit
69aefb5297
|
|
@ -5,7 +5,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkOption recursiveUpdate types;
|
inherit (lib) mkOption recursiveUpdate types optionals;
|
||||||
rosePineHyprcursor = pkgs.callPackage ./rose-pine-hyprcursor.nix { };
|
rosePineHyprcursor = pkgs.callPackage ./rose-pine-hyprcursor.nix { };
|
||||||
|
|
||||||
defaultInput = {
|
defaultInput = {
|
||||||
|
|
@ -25,6 +25,8 @@ let
|
||||||
sensitivity = 0.0;
|
sensitivity = 0.0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wallpaperCommand = config.hare.hyprland.wallpaperCommand;
|
||||||
|
|
||||||
baseSettings = {
|
baseSettings = {
|
||||||
exec-once = [
|
exec-once = [
|
||||||
# "/usr/lib/polkit-kde-authentication-agent-1"
|
# "/usr/lib/polkit-kde-authentication-agent-1"
|
||||||
|
|
@ -37,8 +39,11 @@ let
|
||||||
"eww open bar"
|
"eww open bar"
|
||||||
"eww open roundedEdge"
|
"eww open roundedEdge"
|
||||||
];
|
];
|
||||||
exec = [
|
exec =
|
||||||
"swww img /usr/share/wallpaper/arknights-02.jpg"
|
optionals (wallpaperCommand != null) [
|
||||||
|
wallpaperCommand
|
||||||
|
]
|
||||||
|
++ [
|
||||||
"dconf write /org/gnome/desktop/interface/gtk-theme 'Adwaita Dark'"
|
"dconf write /org/gnome/desktop/interface/gtk-theme 'Adwaita Dark'"
|
||||||
"dconf write /org/gnome/desktop/interface/icon-theme 'Adwaita Dark'"
|
"dconf write /org/gnome/desktop/interface/icon-theme 'Adwaita Dark'"
|
||||||
"dconf write /org/gnome/desktop/interface/document-font-name 'Noto Sans Medium 11'"
|
"dconf write /org/gnome/desktop/interface/document-font-name 'Noto Sans Medium 11'"
|
||||||
|
|
@ -62,7 +67,8 @@ let
|
||||||
|
|
||||||
misc = {
|
misc = {
|
||||||
force_default_wallpaper = false;
|
force_default_wallpaper = false;
|
||||||
disable_hyprland_logo = false;
|
disable_hyprland_logo = true;
|
||||||
|
disable_splash_rendering = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
|
|
@ -210,6 +216,11 @@ in
|
||||||
default = { };
|
default = { };
|
||||||
description = "Overrides for the Hyprland input block (e.g., sensitivity, accel profiles).";
|
description = "Overrides for the Hyprland input block (e.g., sensitivity, accel profiles).";
|
||||||
};
|
};
|
||||||
|
options.hare.hyprland.wallpaperCommand = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
description = "Command to set the wallpaper (e.g., \"swww img <path>\"); appended to Hyprland's exec list when provided.";
|
||||||
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
|
|
@ -221,14 +232,13 @@ in
|
||||||
plugins = [
|
plugins = [
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home.packages =
|
home.packages = [
|
||||||
[
|
rosePineHyprcursor
|
||||||
rosePineHyprcursor
|
]
|
||||||
]
|
++ (with pkgs; [
|
||||||
++ (with pkgs; [
|
swww
|
||||||
swww
|
eww
|
||||||
eww
|
]);
|
||||||
]);
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
HYPRCURSOR_THEME = "rose-pine-hyprcursor";
|
HYPRCURSOR_THEME = "rose-pine-hyprcursor";
|
||||||
HYPRCURSOR_SIZE = "24";
|
HYPRCURSOR_SIZE = "24";
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,10 @@
|
||||||
../../home-manager/obs-studio.nix
|
../../home-manager/obs-studio.nix
|
||||||
../../home-manager/blender.nix
|
../../home-manager/blender.nix
|
||||||
];
|
];
|
||||||
hare.hyprland.input.sensitivity = -1.0;
|
hare.hyprland = {
|
||||||
|
input.sensitivity = -1.0;
|
||||||
|
wallpaperCommand = "swww img /usr/share/wallpaper/arknights-02.jpg";
|
||||||
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
vivaldi
|
vivaldi
|
||||||
google-chrome
|
google-chrome
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
hare.hyprland = {
|
hare.hyprland = {
|
||||||
style = import ../../home-manager/hyprland/styles/thin.nix { inherit lib; };
|
style = import ../../home-manager/hyprland/styles/thin.nix { inherit lib; };
|
||||||
input.sensitivity = -0.6;
|
input.sensitivity = -0.6;
|
||||||
|
wallpaperCommand = "swww img /usr/share/wallpaper/";
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
vivaldi
|
vivaldi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user