fix: made hyprpaper configuration usable

This commit is contained in:
Zhongheng Liu 2024-08-09 16:49:31 +08:00
commit a3dc31db18
4 changed files with 16 additions and 9 deletions

View file

@ -16,6 +16,7 @@
# You can also split up your configuration and import pieces of it here:
#./swaywm.nix
./hyprland.nix
./hyprpaper.nix
./shells
./variables.nix
];

View file

@ -16,12 +16,18 @@
# Whether to enable XWayland
xwayland.enable = true;
settings = {
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
font_family = "monospace";
};
"$mod" = "SUPER";
bind = [
"$mod, Q, killactive"
"$mod, D, exec, ${pkgs.fuzzel}/bin/fuzzel"
# firefox quickstart
# firefox quickstart
"$mod, F, exec, ${pkgs.firefox}/bin/firefox"
# foot terminal
# foot terminal
"$mod, Return, exec, ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=16' zsh"
] ++ (
# workspaces

View file

@ -6,7 +6,7 @@
ipc = "on";
splash = false;
preload = [ config.myWallPaperPathString ];
wallpapaer = ",${config.myWallPaperPathString}";
wallpaper = [ ",${config.myWallPaperPathString}" ];
};
};
}

View file

@ -1,10 +1,10 @@
{pkgs, config, lib, ...}:
{
options = with lib; with types; {
myWallPaperPathString = { type = str; };
myUserName = { type = str; };
myDisplayName = { type = str; };
myEmail = { type = str; };
myWallPaperPathString = mkOption { type = str; };
myUserName = mkOption { type = str; };
myDisplayName = mkOption { type = str; };
myEmail = mkOption { type = str; };
};
config = rec {
myUserName = "stvnliu";