diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-09 16:49:31 +0800 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-09 16:49:31 +0800 |
commit | a3dc31db1880689d752072f66280e1a35f2fba7d (patch) | |
tree | 72faef3b03593b24560b7124446c3fd35c410451 | |
parent | 3651ddb6cbdfcd965bb72756f67ca3fb2952a3c0 (diff) | |
download | nixos-configuration-a3dc31db1880689d752072f66280e1a35f2fba7d.tar.gz nixos-configuration-a3dc31db1880689d752072f66280e1a35f2fba7d.tar.bz2 nixos-configuration-a3dc31db1880689d752072f66280e1a35f2fba7d.zip |
fix: made hyprpaper configuration usable
-rw-r--r-- | home-manager/stvnliu/home.nix | 1 | ||||
-rw-r--r-- | home-manager/stvnliu/hyprland.nix | 14 | ||||
-rw-r--r-- | home-manager/stvnliu/hyprpaper.nix | 2 | ||||
-rw-r--r-- | home-manager/stvnliu/variables.nix | 8 |
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"; |