diff options
| author | Fuwn <[email protected]> | 2024-06-26 22:27:16 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-26 22:27:16 -0700 |
| commit | 9b3a7377e43f911d417024257870eba420288d86 (patch) | |
| tree | b66c5b28f8394ac84e715c330d4479373e13e6dd /home | |
| parent | up (diff) | |
| download | home-manager-config-9b3a7377e43f911d417024257870eba420288d86.tar.xz home-manager-config-9b3a7377e43f911d417024257870eba420288d86.zip | |
up
Diffstat (limited to 'home')
| -rw-r--r-- | home/fuwn/meta/default.nix | 1 | ||||
| -rw-r--r-- | home/fuwn/meta/desktop/wayland/hyprland/default.nix | 8 | ||||
| -rw-r--r-- | home/fuwn/meta/desktop/wayland/hyprland/hyprlock/default.nix | 82 | ||||
| -rw-r--r-- | home/fuwn/meta/desktop/wayland/hyprland/hyprpaper/default.nix | 12 | ||||
| -rw-r--r-- | home/fuwn/meta/gaming/default.nix | 7 |
5 files changed, 110 insertions, 0 deletions
diff --git a/home/fuwn/meta/default.nix b/home/fuwn/meta/default.nix index dde52ac..8205e71 100644 --- a/home/fuwn/meta/default.nix +++ b/home/fuwn/meta/default.nix @@ -5,6 +5,7 @@ _: { ./bitwarden ./calculator ./desktop + # ./gaming ./image ./language ./rice diff --git a/home/fuwn/meta/desktop/wayland/hyprland/default.nix b/home/fuwn/meta/desktop/wayland/hyprland/default.nix index 828ff85..b486e7e 100644 --- a/home/fuwn/meta/desktop/wayland/hyprland/default.nix +++ b/home/fuwn/meta/desktop/wayland/hyprland/default.nix @@ -2,6 +2,8 @@ imports = [ ./hypridle ./hyprland + ./hyprlock + # ./hyprpaper ]; wayland.windowManager.hyprland = { @@ -24,4 +26,10 @@ # inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprtrails ]; }; + + xdg.configFile."hypr/xdph.conf".text = '' + screencopy { + max_fps = 0 + } + ''; } diff --git a/home/fuwn/meta/desktop/wayland/hyprland/hyprlock/default.nix b/home/fuwn/meta/desktop/wayland/hyprland/hyprlock/default.nix new file mode 100644 index 0000000..01ffd17 --- /dev/null +++ b/home/fuwn/meta/desktop/wayland/hyprland/hyprlock/default.nix @@ -0,0 +1,82 @@ +{ + programs.hyprlock = { + enable = true; + + settings = { + general = { + disable_loading_bar = false; + hide_cursor = true; + ignore_empty_input = true; + grace = 10; + }; + + background = [ + { + path = "/home/fuwn/.local/share/bg"; + } + ]; + + input-field = [ + { + # Size & Position + size = "500, 75"; + position = "0, 0"; + + # Other + fade_on_empty = true; + dots_size = 0.2; + dots_spacing = 0.5; + outline_thickness = 3; + placeholder_text = ""; + fail_text = ""; + + # Colour + outer_color = "rgb(1D2433)"; # bg + inner_color = "rgb(1D2433)"; # bg + font_color = "rgb(BDD9F2)"; # fg + check_color = "rgb(9BB8F2)"; # blue + fail_color = "rgb(D67C8E)"; # red + capslock_color = "rgb(D6A37C)"; # orange + + # Shadow + shadow_passes = 1; + shadow_size = 8; + shadow_boost = 0.6; + } + ]; + + label = [ + { + # Text + text = "cmd[update:60000] LC_ALL='ja_JP.utf8' TZ=America/Los_Angeles date '+%H時%M分'"; + position = "75, -75"; + color = "rgba(9BB8F290)"; # blue + + # Font + font_size = 120; + font_family = "SF Pro, Hiragino Sans"; + + # Shadow + shadow_passes = 1; + shadow_size = 6; + shadow_boost = 0.75; + } + { + # Text + text = "cmd[update:60000] LC_ALL='ja_JP.utf8' TZ=America/Los_Angeles date '+%b%-e日(%a)'"; + position = "75, 0"; + color = "rgba(9BB8F270)"; # blue + + # Font + font_size = 40; + font_family = "SF Pro, Hiragino Sans"; + + # Shadow + shadow_passes = 1; + shadow_size = 4; + shadow_boost = 0.9; + } + ]; + }; + }; +} diff --git a/home/fuwn/meta/desktop/wayland/hyprland/hyprpaper/default.nix b/home/fuwn/meta/desktop/wayland/hyprland/hyprpaper/default.nix new file mode 100644 index 0000000..ce6c79a --- /dev/null +++ b/home/fuwn/meta/desktop/wayland/hyprland/hyprpaper/default.nix @@ -0,0 +1,12 @@ +{ + services.hyprpaper = { + enable = true; + + settings = { + preload = "~/Pictures/wallpaper.png"; + wallpaper = ",~/Pictures/wallpaper.png"; + splash = false; + ipc = true; + }; + }; +} diff --git a/home/fuwn/meta/gaming/default.nix b/home/fuwn/meta/gaming/default.nix new file mode 100644 index 0000000..340aebc --- /dev/null +++ b/home/fuwn/meta/gaming/default.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ + steam + lutris + gamescope + ]; +} |