fix sway
This commit is contained in:
parent
e103ca290f
commit
a74e5869c0
@ -12,16 +12,6 @@ let
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
swaypkg = pkgs.sway.override {
|
|
||||||
sway-unwrapped =
|
|
||||||
pkgs.sway-unwrapped.override { wlroots = pkgs.wlroots; };
|
|
||||||
extraSessionCommands =
|
|
||||||
config.wayland.windowManager.sway.extraSessionCommands;
|
|
||||||
extraOptions = config.wayland.windowManager.sway.extraOptions;
|
|
||||||
withBaseWrapper = config.wayland.windowManager.sway.wrapperFeatures.base;
|
|
||||||
withGtkWrapper = config.wayland.windowManager.sway.wrapperFeatures.gtk;
|
|
||||||
};
|
|
||||||
|
|
||||||
selshot = pkgs.writeScript "selshot.sh" (
|
selshot = pkgs.writeScript "selshot.sh" (
|
||||||
if cfg.wayland then ''
|
if cfg.wayland then ''
|
||||||
#!${pkgs.zsh}/bin/zsh
|
#!${pkgs.zsh}/bin/zsh
|
||||||
@ -697,8 +687,6 @@ let
|
|||||||
{
|
{
|
||||||
config = { output = cfg.outputOptions; };
|
config = { output = cfg.outputOptions; };
|
||||||
|
|
||||||
package = lib.mkDefault swaypkg;
|
|
||||||
|
|
||||||
extraConfig =
|
extraConfig =
|
||||||
let
|
let
|
||||||
oguri-swaybg = pkgs.writeScript "oguri-swaybg" ''
|
oguri-swaybg = pkgs.writeScript "oguri-swaybg" ''
|
||||||
|
@ -14,7 +14,7 @@ in
|
|||||||
example = {
|
example = {
|
||||||
"10de:1b80" = "0000:41:00.0";
|
"10de:1b80" = "0000:41:00.0";
|
||||||
"10de:10f0" = "0000:41:00.1";
|
"10de:10f0" = "0000:41:00.1";
|
||||||
"1022:43ba" = "0000:01:00.0";
|
"1022:145c" = "0000:01:00.0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user