xwl wrapper cause it's not actually sway now
This commit is contained in:
parent
25b93c8e61
commit
f8023ca843
2 changed files with 2 additions and 2 deletions
13
modules/niri/xwl-wrapper.nix
Normal file
13
modules/niri/xwl-wrapper.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ lib, pkgs, app, name, ... }: let
|
||||
inherit (lib) concatStrings;
|
||||
config = pkgs.writeTextFile {
|
||||
name = concatStrings [ "i3-config" name ];
|
||||
text = ''
|
||||
exec ${app}
|
||||
'';
|
||||
};
|
||||
in pkgs.makeDesktopItem {
|
||||
name = name;
|
||||
desktopName = name;
|
||||
exec = "${pkgs.xwayland-run}/bin/xwayland-run -- ${pkgs.i3}/bin/i3 -c ${config}";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue