greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

fix(nixos/roles/desktop): use wmenu as xdpw screencast chooser

commit0331827b337a2d153b3d9f26aeb9fe316daff3f9
parent5019086c3cd0de4b42ba15c45368b7dc79168f96
authorlostduk <[email protected]>
date2026-10-15 15:38 +0000
nixos/roles/desktop.nix15+++++++++++++--

1 file changed, -2/+13

nixos/roles/desktop.nix

@@ -1,6 +1,8 @@-{ lib, pkgs, ... }:+{ lib, pkgs, outputs, ... }:  let+  c = lib.mapAttrs (_: lib.removePrefix "#") outputs.palette.colors;+   garden-status = pkgs.writeShellApplication {     name = "garden-status";     runtimeInputs = [ pkgs.coreutils ];@@ -46,7 +48,16 @@ in {       extraPortals = [ pkgs.xdg-desktop-portal-wlr ];       configPackages = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ]; -      wlr.enable = true;+      wlr = {+        enable = true;+        settings.screencast = {+          chooser_type = "dmenu";+          chooser_cmd = lib.concatStringsSep " " [+            (lib.getExe pkgs.wmenu) "-p share" "-f 'Fantasque Sans Mono 11'"+            "-N ${c.bg}" "-n ${c.fg}" "-M ${c.bg}" "-m ${c.green}" "-S ${c.surface}" "-s ${c.fg}"+          ];+        };+      };        config.common = {         default = [ "wlr" ];