From dd09acb21bebea886b2b3d4d70ab3dd738868f7f Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 25 Feb 2023 20:10:05 +0100 Subject: Feat(wms): Add sway --- home-manager/wms/river/default.nix | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 home-manager/wms/river/default.nix (limited to 'home-manager/wms/river/default.nix') diff --git a/home-manager/wms/river/default.nix b/home-manager/wms/river/default.nix new file mode 100644 index 00000000..2d85e802 --- /dev/null +++ b/home-manager/wms/river/default.nix @@ -0,0 +1,34 @@ +{ + config, + pkgs, + sysLib, + river_init_lesser, + ... +}: { + xdg.configFile."river/init".source = + sysLib.makeShellScriptWithLibrary { + name = "river_init"; + script = ./init; + dependencies = builtins.attrValues { + river_init_lesser = river_init_lesser.legacyPackages.x86_64-linux.default; + inherit + (pkgs) + dash + river + glib # gnome lib + gammastep + wlr-randr + yambar + mako + swaybg + swayidle + alacritty + ; + }; + } + + /bin/river_init; + + xdg.configFile."river/res".source = ./res; +} +# vim: ts=2 + -- cgit 1.4.1