aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home-manager/stvnliu/home.nix1
-rw-r--r--home-manager/stvnliu/hyprland.nix14
-rw-r--r--home-manager/stvnliu/hyprpaper.nix2
-rw-r--r--home-manager/stvnliu/variables.nix8
4 files changed, 16 insertions, 9 deletions
diff --git a/home-manager/stvnliu/home.nix b/home-manager/stvnliu/home.nix
index 360e8a4..b902af1 100644
--- a/home-manager/stvnliu/home.nix
+++ b/home-manager/stvnliu/home.nix
@@ -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
];
diff --git a/home-manager/stvnliu/hyprland.nix b/home-manager/stvnliu/hyprland.nix
index f16320a..fc6ff43 100644
--- a/home-manager/stvnliu/hyprland.nix
+++ b/home-manager/stvnliu/hyprland.nix
@@ -16,13 +16,19 @@
# 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
- "$mod, F, exec, ${pkgs.firefox}/bin/firefox"
-# foot terminal
- "$mod, Return, exec, ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=16' zsh"
+ # firefox quickstart
+ "$mod, F, exec, ${pkgs.firefox}/bin/firefox"
+ # foot terminal
+ "$mod, Return, exec, ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=16' zsh"
] ++ (
# workspaces
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
diff --git a/home-manager/stvnliu/hyprpaper.nix b/home-manager/stvnliu/hyprpaper.nix
index ff75f30..244f4d5 100644
--- a/home-manager/stvnliu/hyprpaper.nix
+++ b/home-manager/stvnliu/hyprpaper.nix
@@ -6,7 +6,7 @@
ipc = "on";
splash = false;
preload = [ config.myWallPaperPathString ];
- wallpapaer = ",${config.myWallPaperPathString}";
+ wallpaper = [ ",${config.myWallPaperPathString}" ];
};
};
}
diff --git a/home-manager/stvnliu/variables.nix b/home-manager/stvnliu/variables.nix
index 924e68e..b0ddeab 100644
--- a/home-manager/stvnliu/variables.nix
+++ b/home-manager/stvnliu/variables.nix
@@ -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";