From 67248e038dec99e1d319fdb3ff813521ba88d2cb Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Thu, 29 May 2025 11:42:59 -0400 Subject: [PATCH] yazi updates --- flake.lock | 36 ++++++++++++++++++------------------ modules/home/niri.nix | 28 ++++++++++++++++++++++------ modules/home/yazi/theme.toml | 3 +++ 3 files changed, 43 insertions(+), 24 deletions(-) diff --git a/flake.lock b/flake.lock index ffc4ab4..9888e5c 100644 --- a/flake.lock +++ b/flake.lock @@ -88,11 +88,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1748449332, - "narHash": "sha256-3Qr0pThpHgbIhscOia2ETxo2ge7el458Z9pv5+ONTKc=", + "lastModified": 1748512354, + "narHash": "sha256-t2NakedcQrHpt1+wAf9kOCdHqB6WfNIw6yDfF/CDv7k=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "44f10e03d04b678d13ee9c36a9bd632dbce84103", + "rev": "8a6d70fbe08c7be6b1832a1c4614d5f71e8ccf82", "type": "github" }, "original": { @@ -376,11 +376,11 @@ ] }, "locked": { - "lastModified": 1748455938, - "narHash": "sha256-mQ/iNzPra2WtDQ+x2r5IadcWNr0m3uHvLMzJkXKAG/8=", + "lastModified": 1748529677, + "narHash": "sha256-MJEX3Skt5EAIs/aGHD8/aXXZPcceMMHheyIGSjvxZN0=", "owner": "nix-community", "repo": "home-manager", - "rev": "02077149e2921014511dac2729ae6dadb4ec50e2", + "rev": "da282034f4d30e787b8a10722431e8b650a907ef", "type": "github" }, "original": { @@ -785,11 +785,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1748450232, - "narHash": "sha256-6w7klfyLkEaQ9PlE6z3vYPRJWsguL9JsUdU1Bkv6fbs=", + "lastModified": 1748489570, + "narHash": "sha256-WNi6WihM7/6HBEfXGOkGLl47LfexAlbaG/Nu1vUn5Oo=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "8319d7cc74becbce927ab6c1e5b0027d22855c9f", + "rev": "0bc438fcd9fbbc3159b883d846daa718a72f5c98", "type": "github" }, "original": { @@ -1583,11 +1583,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1748396840, - "narHash": "sha256-NPSbIK8dsayXj4RbEwm+fMbnAKrTRRB/qFoWxfkRLDo=", + "lastModified": 1748488455, + "narHash": "sha256-IiLr1alzKFIy5tGGpDlabQbe6LV1c9ABvkH6T5WmyRI=", "owner": "Supreeeme", "repo": "xwayland-satellite", - "rev": "76ace3c656c6680e58e53f95baac0ae0fa1178b5", + "rev": "3ba30b149f9eb2bbf42cf4758d2158ca8cceef73", "type": "github" }, "original": { @@ -1616,11 +1616,11 @@ "xwayland-satellite-unstable": { "flake": false, "locked": { - "lastModified": 1748396840, - "narHash": "sha256-NPSbIK8dsayXj4RbEwm+fMbnAKrTRRB/qFoWxfkRLDo=", + "lastModified": 1748488455, + "narHash": "sha256-IiLr1alzKFIy5tGGpDlabQbe6LV1c9ABvkH6T5WmyRI=", "owner": "Supreeeme", "repo": "xwayland-satellite", - "rev": "76ace3c656c6680e58e53f95baac0ae0fa1178b5", + "rev": "3ba30b149f9eb2bbf42cf4758d2158ca8cceef73", "type": "github" }, "original": { @@ -1659,11 +1659,11 @@ ] }, "locked": { - "lastModified": 1748467104, - "narHash": "sha256-EgYaWbzbtYFLZH1/Eni1ZdLgTwYhe8g9m10UPdBMCmY=", + "lastModified": 1748528362, + "narHash": "sha256-uayZJ24xKabzAZH9XSfsle7Vnevj1J9P5Gb3Ntb9x9g=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "68d2b647f845f6679db96468336aba5dfae901fa", + "rev": "3528ac8fa3603ac8105648349865346f503cd599", "type": "github" }, "original": { diff --git a/modules/home/niri.nix b/modules/home/niri.nix index 1ceb353..cf346bc 100644 --- a/modules/home/niri.nix +++ b/modules/home/niri.nix @@ -74,7 +74,7 @@ in width = 2560; height = 1600; }; - background-color = strPalette.normal.background; + # background-color = strPalette.normal.background; scale = 1; variable-refresh-rate = true; }; @@ -84,12 +84,12 @@ in width = 3840; height = 2160; }; - background-color = strPalette.normal.background; + # background-color = strPalette.normal.background; scale = 1; }; "HDMI-A-1" = { - background-color = strPalette.normal.background; + # background-color = strPalette.normal.background; scale = 1; }; @@ -110,11 +110,14 @@ in animations.slowdown = 1.0; + overview = { + backdrop-color = "black"; + }; + layout = { gaps = 6; center-focused-column = "never"; always-center-single-column = true; - preset-column-widths = [ { proportion = 0.33333; } { proportion = 0.5; } @@ -158,6 +161,13 @@ in }; }; + # layer-rules = [ + # { + # matches = [ { namespace="^wpaperd$"; } ]; + # place-within-backdrop = true; + # } + # ]; + window-rules = [ # global window rule for shared config { @@ -489,8 +499,14 @@ in "Mod+X".action = switch-focus-between-floating-and-tiling; "Mod+S".action = focus-workspace "scratchpad"; - "Mod+Print".action = screenshot; - "Mod+Shift+Print".action = spawn "/home/emenel/.local/bin/niri-screenshot-window"; + "Mod+Print" = { + action = screenshot; + hotkey-overlay.title = "Screenshot"; + }; + "Mod+Shift+Print" = { + action = spawn "/home/emenel/.local/bin/niri-screenshot-window"; + hotkey-overlay.title = "Screenshot Window"; + }; # The quit action will show a confirmation dialog to avoid accidental exits. diff --git a/modules/home/yazi/theme.toml b/modules/home/yazi/theme.toml index 7c2e8da..db59233 100644 --- a/modules/home/yazi/theme.toml +++ b/modules/home/yazi/theme.toml @@ -11,3 +11,6 @@ active = { fg = "blue", bg = "#282C34" } inactive = { fg = "#666666", bg = "#111111", dim = true } sep_inner = { open = " ", close = " " } sep_outer = { open = " ", close = " " } + +[mgr] +border_style = { fg = "#333333" }