Compare commits

...

8 commits

Author SHA1 Message Date
06117eee83
flake.lock: Update 2025-06-24 17:16:29 +02:00
f3b5005aff
install broot 2025-06-24 17:15:14 +02:00
8110cbb92a
support new niri features in config 2025-06-24 17:14:53 +02:00
689b84e498
enable suggestions 2025-06-24 17:14:31 +02:00
2afd2f5de1
disable easyroam service on desktop 2025-06-24 17:14:17 +02:00
8bf59c2cef
fix lix 2025-06-24 17:14:05 +02:00
b5da9c89ad
update bar-ws-monitor to work again 2025-06-24 17:13:43 +02:00
7f8869f14a
flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/323b5746d89e04b22554b061522dfce9e4c49b18' (2025-06-03)
  → 'github:ipetkov/crane/e37c943371b73ed87faf33f7583860f81f1d5a48' (2025-06-18)
• Updated input 'fenix':
    'github:nix-community/fenix/a266cb2d1beda20f750fc8e484e57224c8671926' (2025-06-17)
  → 'github:nix-community/fenix/1390245c00b82dc83e057701c8d01657c5077279' (2025-06-24)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/2c25e436c717d5f6b264dbb9b8f459d65384a253' (2025-06-16)
  → 'github:rust-lang/rust-analyzer/96be3788a67552b6fde780061fac2889793eafe3' (2025-06-23)
• Updated input 'home-manager':
    'github:nix-community/home-manager/28eef8722d1af18ca13e687dbf485e1c653a0402' (2025-06-17)
  → 'github:nix-community/home-manager/d07e9cceb4994ed64a22b9b36f8b76923e87ac38' (2025-06-24)
• Updated input 'niri':
    'github:sodiboo/niri-flake/e2401ec11b2ed71337931aa1123faf469c4df327' (2025-06-17)
  → 'github:sodiboo/niri-flake/a581a91b7406a0b9039ef22e37e5166bd3b1a139' (2025-06-24)
• Updated input 'niri/niri-unstable':
    'github:YaLTeR/niri/e53f8527b0517cf965961ae729b7dd631ed76db5' (2025-06-17)
  → 'github:YaLTeR/niri/4c02f3bba451747c3f337f4c131b0c7f9ef41bb7' (2025-06-23)
• Updated input 'niri/nixpkgs':
    'github:NixOS/nixpkgs/ee930f9755f58096ac6e8ca94a1887e0534e2d81' (2025-06-13)
  → 'github:NixOS/nixpkgs/4206c4cb56751df534751b058295ea61357bbbaa' (2025-06-21)
• Updated input 'niri/nixpkgs-stable':
    'github:NixOS/nixpkgs/6c64dabd3aa85e0c02ef1cdcb6e1213de64baee3' (2025-06-15)
  → 'github:NixOS/nixpkgs/c7ab75210cb8cb16ddd8f290755d9558edde7ee1' (2025-06-22)
• Updated input 'niri/xwayland-satellite-unstable':
    'github:Supreeeme/xwayland-satellite/da2ecb5be816de35e2efe23a408a1c49fe8b11ba' (2025-06-07)
  → 'github:Supreeeme/xwayland-satellite/117af56a83e2d1d25016fbd504a2a040babe586a' (2025-06-23)
• Updated input 'nixcord':
    'github:kaylorben/nixcord/4a025970ae640ba2137e1b883697f9513f5125f0' (2025-06-17)
  → 'github:kaylorben/nixcord/a4f3b2eae0efd7b8b1dcae8ef92dac5a6ce221a6' (2025-06-24)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/61837d2a33ccc1582c5fabb7bf9130d39fee59ad' (2025-06-16)
  → 'github:NixOS/nixos-hardware/1552a9f4513f3f0ceedcf90320e48d3d47165712' (2025-06-20)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ee930f9755f58096ac6e8ca94a1887e0534e2d81' (2025-06-13)
  → 'github:NixOS/nixpkgs/4206c4cb56751df534751b058295ea61357bbbaa' (2025-06-21)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/daa45f10955cc2207ac9c5f0206774d2f757c162' (2025-06-15)
  → 'github:NixOS/nixpkgs/1f426f65ac4e6bf808923eb6f8b8c2bfba3d18c5' (2025-06-23)
• Updated input 'nixpkgs-unstable-small':
    'github:NixOS/nixpkgs/526945c5798687e32d4a6f8a93660fe2ca152ae2' (2025-06-16)
  → 'github:NixOS/nixpkgs/83685a4ccd44d2d4c09f2e5f7773d2f3f2156121' (2025-06-24)
• Updated input 'stylix':
    'github:danth/stylix/a14e525723c1c837b2ceacd8a37cba1f0b5e76c2' (2025-06-15)
  → 'github:danth/stylix/67a6479c1aa95210a346a227743f074b82471432' (2025-06-23)
2025-06-24 15:38:08 +02:00
11 changed files with 122 additions and 74 deletions

4
Cargo.lock generated
View file

@ -689,9 +689,9 @@ dependencies = [
[[package]] [[package]]
name = "niri-ipc" name = "niri-ipc"
version = "25.2.0" version = "25.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01515d0a7e73f1f3bd0347100542c4c3f6ebc280688add12e7ed2af4c35af4fb" checksum = "dc3e165f7854b2f83054a2e8f7024baa49666ad25cdb95b8fb9fd17c48045605"
dependencies = [ dependencies = [
"serde", "serde",
"serde_json", "serde_json",

116
flake.lock generated
View file

@ -69,11 +69,11 @@
}, },
"crane": { "crane": {
"locked": { "locked": {
"lastModified": 1748970125, "lastModified": 1750266157,
"narHash": "sha256-UDyigbDGv8fvs9aS95yzFfOKkEjx1LO3PL3DsKopohA=", "narHash": "sha256-tL42YoNg9y30u7zAqtoGDNdTyXTi8EALDeCB13FtbQA=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "323b5746d89e04b22554b061522dfce9e4c49b18", "rev": "e37c943371b73ed87faf33f7583860f81f1d5a48",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -105,11 +105,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1750142293, "lastModified": 1750747360,
"narHash": "sha256-D2IwLkYYgsaXu8asJdGoNGhYkRgmW7fvxi4BmVUrkys=", "narHash": "sha256-0JEUva5TOJMLDHTUMY4uHQTqEC+esw5n61CfCilOynE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "a266cb2d1beda20f750fc8e484e57224c8671926", "rev": "1390245c00b82dc83e057701c8d01657c5077279",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -363,11 +363,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1750127463, "lastModified": 1750730235,
"narHash": "sha256-K2xFtlD3PcKAZriOE3LaBLYmVfGQu+rIF4Jr1RFYR0Q=", "narHash": "sha256-rZErlxiV7ssvI8t7sPrKU+fRigNc2KvoKZG3gtUtK50=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "28eef8722d1af18ca13e687dbf485e1c653a0402", "rev": "d07e9cceb4994ed64a22b9b36f8b76923e87ac38",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -400,15 +400,15 @@
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1746827286, "lastModified": 1746827285,
"narHash": "sha256-qCRBy8Bbh5XhPalPkhonxNgfsbw3lP0UIXBLSrhxAvI=", "narHash": "sha256-hsFe4Tsqqg4l+FfQWphDtjC79WzNCZbEFhHI8j2KJzw=",
"rev": "dcb0a97000d50b2868ed4f8d9fd465c5a5b8eb3a", "rev": "47aad376c87e2e65967f17099277428e4b3f8e5a",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/dcb0a97000d50b2868ed4f8d9fd465c5a5b8eb3a.tar.gz?rev=dcb0a97000d50b2868ed4f8d9fd465c5a5b8eb3a" "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/47aad376c87e2e65967f17099277428e4b3f8e5a.tar.gz?rev=47aad376c87e2e65967f17099277428e4b3f8e5a"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/lix-project/lix/archive/main.tar.gz" "url": "https://git.lix.systems/lix-project/lix/archive/2.93.0.tar.gz"
} }
}, },
"lix-module": { "lix-module": {
@ -421,17 +421,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1747667424, "lastModified": 1746838955,
"narHash": "sha256-7EICjbmG6lApWKhFtwvZovdcdORY1CEe6/K7JwtpYfs=", "narHash": "sha256-11R4K3iAx4tLXjUs+hQ5K90JwDABD/XHhsM9nkeS5N8=",
"ref": "refs/heads/main", "rev": "cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc",
"rev": "3c23c6ae2aecc1f76ae7993efe1a78b5316f0700", "type": "tarball",
"revCount": 144, "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc.tar.gz?rev=cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc"
"type": "git",
"url": "https://git.lix.systems/lix-project/nixos-module"
}, },
"original": { "original": {
"type": "git", "type": "tarball",
"url": "https://git.lix.systems/lix-project/nixos-module" "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz"
} }
}, },
"niri": { "niri": {
@ -444,11 +442,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1750146866, "lastModified": 1750735687,
"narHash": "sha256-Eu3/uTRnenjCJUY76T3zDWiUtIGG+RMQoDu1QdIU8AI=", "narHash": "sha256-pscxcZpLGcEEJGVjFAM7X77cARABc7M+zVyUN6qsEmU=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "e2401ec11b2ed71337931aa1123faf469c4df327", "rev": "a581a91b7406a0b9039ef22e37e5166bd3b1a139",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -477,11 +475,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1750142220, "lastModified": 1750684365,
"narHash": "sha256-5gUJXh0/mm1YIsLhWgaGitUtGsQvrYRsT4zmGmRHn9M=", "narHash": "sha256-BqtoSRCgmutJXnQFZs+KFMNvp3LuX6POIHjXIxWdlTE=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "e53f8527b0517cf965961ae729b7dd631ed76db5", "rev": "4c02f3bba451747c3f337f4c131b0c7f9ef41bb7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -497,11 +495,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1750156995, "lastModified": 1750728484,
"narHash": "sha256-EPOixl8BVnBuR9jlzYiFP0blX/5Sm7ZguNGCSKJXSkQ=", "narHash": "sha256-DdVB1KLJNpzC1aYqpywAZn84PQ7hU2s5Llxpf/Nw7ls=",
"owner": "kaylorben", "owner": "kaylorben",
"repo": "nixcord", "repo": "nixcord",
"rev": "4a025970ae640ba2137e1b883697f9513f5125f0", "rev": "a4f3b2eae0efd7b8b1dcae8ef92dac5a6ce221a6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -512,11 +510,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1750083401, "lastModified": 1750431636,
"narHash": "sha256-ynqbgIYrg7P1fAKYqe8I/PMiLABBcNDYG9YaAP/d/C4=", "narHash": "sha256-vnzzBDbCGvInmfn2ijC4HsIY/3W1CWbwS/YQoFgdgPg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "61837d2a33ccc1582c5fabb7bf9130d39fee59ad", "rev": "1552a9f4513f3f0ceedcf90320e48d3d47165712",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -526,11 +524,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1749794982, "lastModified": 1750506804,
"narHash": "sha256-Kh9K4taXbVuaLC0IL+9HcfvxsSUx8dPB5s5weJcc9pc=", "narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ee930f9755f58096ac6e8ca94a1887e0534e2d81", "rev": "4206c4cb56751df534751b058295ea61357bbbaa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -569,11 +567,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1750005367, "lastModified": 1750622754,
"narHash": "sha256-h/aac1dGLhS3qpaD2aZt25NdKY7b+JT0ZIP2WuGsJMU=", "narHash": "sha256-kMhs+YzV4vPGfuTpD3mwzibWUE6jotw5Al2wczI0Pv8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6c64dabd3aa85e0c02ef1cdcb6e1213de64baee3", "rev": "c7ab75210cb8cb16ddd8f290755d9558edde7ee1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -585,11 +583,11 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1749995256, "lastModified": 1750646418,
"narHash": "sha256-LEGfcombb0otUf23oAmYCXR4+lMQKa49XmU0G5HItGI=", "narHash": "sha256-4UAN+W0Lp4xnUiHYXUXAPX18t+bn6c4Btry2RqM9JHY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "daa45f10955cc2207ac9c5f0206774d2f757c162", "rev": "1f426f65ac4e6bf808923eb6f8b8c2bfba3d18c5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -600,11 +598,11 @@
}, },
"nixpkgs-unstable-small": { "nixpkgs-unstable-small": {
"locked": { "locked": {
"lastModified": 1750093821, "lastModified": 1750752886,
"narHash": "sha256-rumKjLR6VSoDG8eCiCLmwbuWDI+JnDzxaEWVF7F95OU=", "narHash": "sha256-pP1ZBxEo44HbLDyXVPPK8BQO882eGKpW9zzXliGFA/8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "526945c5798687e32d4a6f8a93660fe2ca152ae2", "rev": "83685a4ccd44d2d4c09f2e5f7773d2f3f2156121",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -631,11 +629,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1749794982, "lastModified": 1750506804,
"narHash": "sha256-Kh9K4taXbVuaLC0IL+9HcfvxsSUx8dPB5s5weJcc9pc=", "narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ee930f9755f58096ac6e8ca94a1887e0534e2d81", "rev": "4206c4cb56751df534751b058295ea61357bbbaa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -721,11 +719,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1750093996, "lastModified": 1750703256,
"narHash": "sha256-Nw/TcDo3OgsEgyZ651iCcTILGaQRxBfCdgI9pVOD6rk=", "narHash": "sha256-tTsX1kLWgeDtOSzahAW6WMkBY7ZjQeqdJ8pmqPyEGLo=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "2c25e436c717d5f6b264dbb9b8f459d65384a253", "rev": "96be3788a67552b6fde780061fac2889793eafe3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -786,11 +784,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1750023464, "lastModified": 1750688934,
"narHash": "sha256-gBsstni5rgh1vt2SNThh51GNvxMDCjEBfpPksS0ig/c=", "narHash": "sha256-nOWOzcB/U9QE8MZ5NV1eRwrsWnsqtcPA88v0SKwKmxA=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "a14e525723c1c837b2ceacd8a37cba1f0b5e76c2", "rev": "67a6479c1aa95210a346a227743f074b82471432",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -990,11 +988,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1749315541, "lastModified": 1750686869,
"narHash": "sha256-bEik1BfVOFnWvtOrcOHluos/edJ8f+G2y1QySbt/0Ak=", "narHash": "sha256-FS/rYXd96VBtKNJRTV2xTpTk8CgrYP+lFsFj0+VKgoY=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "da2ecb5be816de35e2efe23a408a1c49fe8b11ba", "rev": "117af56a83e2d1d25016fbd504a2a040babe586a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -11,7 +11,7 @@
crane.url = "github:ipetkov/crane"; crane.url = "github:ipetkov/crane";
nixcord.url = "github:kaylorben/nixcord"; nixcord.url = "github:kaylorben/nixcord";
lix-module = { lix-module = {
url = "git+https://git.lix.systems/lix-project/nixos-module"; url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
home-manager = { home-manager = {

View file

@ -68,6 +68,8 @@
seahorse.enable = true; seahorse.enable = true;
}; };
systemd.services.easyroam.enable = false;
environment.pathsToLink = [ environment.pathsToLink = [
"/share/nix-direnv" "/share/nix-direnv"
]; ];

View file

@ -53,7 +53,11 @@
profiles.jade = { profiles.jade = {
search = { search = {
force = true; force = true;
default = "ddg"; default = "Kagi";
order = [
"Kagi"
"ddg"
];
engines = { engines = {
"Nix Packages" = { "Nix Packages" = {
urls = [ urls = [
@ -301,8 +305,8 @@
"browser.urlbar.speculativeConnect.enabled" = false; "browser.urlbar.speculativeConnect.enabled" = false;
"browser.urlbar.suggest.quicksuggest.nonsponsored" = false; "browser.urlbar.suggest.quicksuggest.nonsponsored" = false;
"browser.urlbar.suggest.quicksuggest.sponsored" = false; "browser.urlbar.suggest.quicksuggest.sponsored" = false;
"browser.search.suggest.enabled" = false; "browser.search.suggest.enabled" = true;
"browser.urlbar.suggest.searches" = false; "browser.urlbar.suggest.searches" = true;
"browser.urlbar.trending.featureGate" = false; "browser.urlbar.trending.featureGate" = false;
"security.ssl.require_safe_negotiation" = true; "security.ssl.require_safe_negotiation" = true;

View file

@ -57,6 +57,10 @@
"Mod+Shift+Slash".action.show-hotkey-overlay = [ ]; "Mod+Shift+Slash".action.show-hotkey-overlay = [ ];
"Mod+Shift+C".action.set-dynamic-cast-window = [ ];
"Mod+Ctrl+C".action.set-dynamic-cast-monitor = [ ];
"Mod+Shift+Ctrl+C".action.clear-dynamic-cast-target = [ ];
# window/columns controls # window/columns controls
"Mod+H".action.focus-column-left = [ ]; "Mod+H".action.focus-column-left = [ ];
"Mod+J".action.focus-window-down = [ ]; "Mod+J".action.focus-window-down = [ ];
@ -109,8 +113,6 @@
"Mod+BracketLeft".action.consume-or-expel-window-left = [ ]; "Mod+BracketLeft".action.consume-or-expel-window-left = [ ];
"Mod+BracketRight".action.consume-or-expel-window-right = [ ]; "Mod+BracketRight".action.consume-or-expel-window-right = [ ];
"Mod+F".action.maximize-column = [ ]; "Mod+F".action.maximize-column = [ ];
"Mod+Shift+F".action.expand-column-to-available-width = [ ];
"Mod+Ctrl+F".action.fullscreen-window = [ ];
"Mod+C".action.center-column = [ ]; "Mod+C".action.center-column = [ ];
"Mod+Minus".action.set-column-width = "-5%"; "Mod+Minus".action.set-column-width = "-5%";
"Mod+Equal".action.set-column-width = "+5%"; "Mod+Equal".action.set-column-width = "+5%";
@ -118,6 +120,10 @@
"Mod+Shift+Equal".action.set-window-height = "+10%"; "Mod+Shift+Equal".action.set-window-height = "+10%";
"Mod+W".action.toggle-column-tabbed-display = [ ]; "Mod+W".action.toggle-column-tabbed-display = [ ];
"Mod+Shift+F".action.expand-column-to-available-width = [ ];
"Mod+Ctrl+F".action.fullscreen-window = [ ];
"Mod+Shift+Ctrl+F".action.toggle-windowed-fullscreen = [ ];
# media keys # media keys
"XF86AudioRaiseVolume".action.spawn = [ "XF86AudioRaiseVolume".action.spawn = [
"wpctl" "wpctl"

View file

@ -81,6 +81,25 @@
}; };
clip-to-geometry = true; clip-to-geometry = true;
} }
{
matches = [ { is-window-cast-target = true; } ];
border = {
inactive.gradient = {
from = "#64de50";
to = "#ff9a56";
in' = "oklch shorter hue";
relative-to = "window";
angle = 135;
};
active.gradient = {
from = "#64de50";
to = "#5bcefa";
in' = "oklch shorter hue";
relative-to = "window";
angle = 135;
};
};
}
]; ];
}; };
} }

View file

@ -14,6 +14,12 @@
home-manager.users.jade = home-manager.users.jade =
{ ... }: { ... }:
{ {
programs.broot = {
enable = true;
settings = {
modal = true;
};
};
programs.carapace.enable = true; programs.carapace.enable = true;
programs.direnv.enable = true; programs.direnv.enable = true;
}; };

View file

@ -2,6 +2,8 @@ alias gnix = cd ~/nix-configs;
alias grepo = cd ~/Documents/repos; alias grepo = cd ~/Documents/repos;
alias wh = wormhole-rs; alias wh = wormhole-rs;
alias b = broot;
alias gg = gitui; alias gg = gitui;
alias ga = git add; alias ga = git add;
alias gc = git commit; alias gc = git commit;

View file

@ -6,4 +6,4 @@ edition = "2021"
[dependencies] [dependencies]
serde = { version = "1.0.209", features = [ "derive" ] } serde = { version = "1.0.209", features = [ "derive" ] }
serde_json = "1.0.127" serde_json = "1.0.127"
niri-ipc = "25.2.0" niri-ipc = "25.5.1"

View file

@ -21,13 +21,24 @@ const COLORS: [[&str; 2]; 7] = [
fn main() -> Result<(), std::io::Error> { fn main() -> Result<(), std::io::Error> {
let mut state = EventStreamState::default(); let mut state = EventStreamState::default();
let sock = Socket::connect()?; let mut sock = Socket::connect()?;
let mut func = sock.send(Request::EventStream).and_then(|it| match it { // let mut func = sock.send(Request::EventStream).and_then(|it| match it {
(Ok(Response::Handled), func) => Ok(func), // (Ok(Response::Handled), func) => Ok(func),
_ => unreachable!(), // _ => unreachable!(),
})?; // })?;
// let mut func = sock.send(Request::EventStream).and_then(|it| match it {
// Ok(Response::Handled) => {}
// Ok(_) => panic!("???"),
// Err(e) => panic!("e"),
// });
let r = sock.send(Request::EventStream)?;
match r {
Ok(Response::Handled) => {}
e => panic!("unexpected {e:?}"),
}
while let Ok(ev) = (func)() { let mut receiver = sock.read_events();
while let Ok(ev) = receiver() {
// check only relevant later, only done here to avoid a clone // check only relevant later, only done here to avoid a clone
let ev_is_ws_related = matches!( let ev_is_ws_related = matches!(
&ev, &ev,