From 2fa8c8c00b4006b6004c4fac26163839ca1a3a93 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Fri, 15 Sep 2023 13:27:08 +1200 Subject: [PATCH] fix: hyprland config --- flake.lock | 113 +++++++++++++++++++++ home/ooks/opt/desktop/hyprland/default.nix | 10 +- home/ooks/opt/shell/default.nix | 4 +- 3 files changed, 120 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 167706e..d0332f8 100644 --- a/flake.lock +++ b/flake.lock @@ -89,6 +89,55 @@ "type": "github" } }, + "hyprland": { + "inputs": { + "hyprland-protocols": "hyprland-protocols", + "nixpkgs": [ + "nixpkgs" + ], + "systems": "systems", + "wlroots": "wlroots", + "xdph": "xdph" + }, + "locked": { + "lastModified": 1694703353, + "narHash": "sha256-4zE6asZoWo7V0HRUNDDE+kX/RT/ofkvK/NXq/rwqCr8=", + "owner": "hyprwm", + "repo": "hyprland", + "rev": "f8008e4b3beb4aae2365973879a46fe0f15c79b4", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprland", + "type": "github" + } + }, + "hyprland-protocols": { + "inputs": { + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1691753796, + "narHash": "sha256-zOEwiWoXk3j3+EoF3ySUJmberFewWlagvewDRuWYAso=", + "owner": "hyprwm", + "repo": "hyprland-protocols", + "rev": "0c2ce70625cb30aef199cb388f99e19a61a6ce03", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprland-protocols", + "type": "github" + } + }, "hyprwm-contrib": { "inputs": { "nixpkgs": [ @@ -164,10 +213,74 @@ "firefox-addons": "firefox-addons", "hardware": "hardware", "home-manager": "home-manager", + "hyprland": "hyprland", "hyprwm-contrib": "hyprwm-contrib", "nix-colors": "nix-colors", "nixpkgs": "nixpkgs" } + }, + "systems": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, + "wlroots": { + "flake": false, + "locked": { + "host": "gitlab.freedesktop.org", + "lastModified": 1694302348, + "narHash": "sha256-S9NOc88L/1jpNKJqBu2Hihvn0V1HHCK2hXE4bNBAStg=", + "owner": "wlroots", + "repo": "wlroots", + "rev": "65bbbbbf0c3d6844cee3c4e294d0ba07e1f82211", + "type": "gitlab" + }, + "original": { + "host": "gitlab.freedesktop.org", + "owner": "wlroots", + "repo": "wlroots", + "rev": "65bbbbbf0c3d6844cee3c4e294d0ba07e1f82211", + "type": "gitlab" + } + }, + "xdph": { + "inputs": { + "hyprland-protocols": [ + "hyprland", + "hyprland-protocols" + ], + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1694363988, + "narHash": "sha256-RF6LXm4J6mBF3B8VcQuABuU4g4tCPHgMYJQSoJ3DW+8=", + "owner": "hyprwm", + "repo": "xdg-desktop-portal-hyprland", + "rev": "aca51609d4c415b30e88b96c6f49f0142cbcdae7", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "xdg-desktop-portal-hyprland", + "type": "github" + } } }, "root": "root", diff --git a/home/ooks/opt/desktop/hyprland/default.nix b/home/ooks/opt/desktop/hyprland/default.nix index 14369e8..a466fc9 100644 --- a/home/ooks/opt/desktop/hyprland/default.nix +++ b/home/ooks/opt/desktop/hyprland/default.nix @@ -37,11 +37,11 @@ inactive_opacity = 1.0; fullscreen_opacity = 1.0; rounding = 5; - blur = true; - blur_size = 5; - blur_passes = 3; - blur_new_optimizations = true; - blur_ignore_opacity = true; + blur = { + enabled = false; + new_optimizations = true; + ignore_opacity = true; + }; drop_shadow = true; shadow_range = 12; shadow_offset = "3 3"; diff --git a/home/ooks/opt/shell/default.nix b/home/ooks/opt/shell/default.nix index 087691d..0f5e9ac 100644 --- a/home/ooks/opt/shell/default.nix +++ b/home/ooks/opt/shell/default.nix @@ -8,12 +8,12 @@ ./starship.nix ./joshuto ./helix - ./live-buds-cli.nix + # ./live-buds-cli.nix ]; home.packages = with pkgs; [ bc # Calculator ncdu # disk util - exa # Ls + eza # Ls fd # Find ripgrep # Better grep httpie # Better curl