default wallpaper
This commit is contained in:
parent
2bb37281ac
commit
69aefb5297
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption recursiveUpdate types;
|
||||
inherit (lib) mkOption recursiveUpdate types optionals;
|
||||
rosePineHyprcursor = pkgs.callPackage ./rose-pine-hyprcursor.nix { };
|
||||
|
||||
defaultInput = {
|
||||
|
|
@ -25,6 +25,8 @@ let
|
|||
sensitivity = 0.0;
|
||||
};
|
||||
|
||||
wallpaperCommand = config.hare.hyprland.wallpaperCommand;
|
||||
|
||||
baseSettings = {
|
||||
exec-once = [
|
||||
# "/usr/lib/polkit-kde-authentication-agent-1"
|
||||
|
|
@ -37,8 +39,11 @@ let
|
|||
"eww open bar"
|
||||
"eww open roundedEdge"
|
||||
];
|
||||
exec = [
|
||||
"swww img /usr/share/wallpaper/arknights-02.jpg"
|
||||
exec =
|
||||
optionals (wallpaperCommand != null) [
|
||||
wallpaperCommand
|
||||
]
|
||||
++ [
|
||||
"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/document-font-name 'Noto Sans Medium 11'"
|
||||
|
|
@ -62,7 +67,8 @@ let
|
|||
|
||||
misc = {
|
||||
force_default_wallpaper = false;
|
||||
disable_hyprland_logo = false;
|
||||
disable_hyprland_logo = true;
|
||||
disable_splash_rendering = true;
|
||||
};
|
||||
|
||||
windowrulev2 = [
|
||||
|
|
@ -210,6 +216,11 @@ in
|
|||
default = { };
|
||||
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 = {
|
||||
wayland.windowManager.hyprland = {
|
||||
|
|
@ -221,8 +232,7 @@ in
|
|||
plugins = [
|
||||
];
|
||||
};
|
||||
home.packages =
|
||||
[
|
||||
home.packages = [
|
||||
rosePineHyprcursor
|
||||
]
|
||||
++ (with pkgs; [
|
||||
|
|
|
|||
|
|
@ -22,7 +22,10 @@
|
|||
../../home-manager/obs-studio.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; [
|
||||
vivaldi
|
||||
google-chrome
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
hare.hyprland = {
|
||||
style = import ../../home-manager/hyprland/styles/thin.nix { inherit lib; };
|
||||
input.sensitivity = -0.6;
|
||||
wallpaperCommand = "swww img /usr/share/wallpaper/";
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
vivaldi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user