sway: don't require rebuilding sway dependencies
This commit is contained in:
parent
efc00f040a
commit
3ac56e531d
|
@ -44,10 +44,12 @@
|
||||||
--replace ZWLR_LAYER_SHELL_V1_LAYER_TOP ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY
|
--replace ZWLR_LAYER_SHELL_V1_LAYER_TOP ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
mySway = prev.sway.override {
|
||||||
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
||||||
patches = old.patches
|
patches = old.patches
|
||||||
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
|
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
|
||||||
});
|
});
|
||||||
|
};
|
||||||
mangohud = prev.mangohud.overrideAttrs (o: {
|
mangohud = prev.mangohud.overrideAttrs (o: {
|
||||||
patches = o.patches ++ [
|
patches = o.patches ++ [
|
||||||
(prev.fetchpatch {
|
(prev.fetchpatch {
|
||||||
|
|
|
@ -21,6 +21,7 @@ in
|
||||||
|
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.mySway;
|
||||||
config = {
|
config = {
|
||||||
bars = [ ];
|
bars = [ ];
|
||||||
|
|
||||||
|
@ -105,7 +106,7 @@ in
|
||||||
xdg.configFile."OpenTabletDriver/settings.json".source = ./open-tablet-driver.json;
|
xdg.configFile."OpenTabletDriver/settings.json".source = ./open-tablet-driver.json;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
sway
|
mySway
|
||||||
swaybg
|
swaybg
|
||||||
swaylock
|
swaylock
|
||||||
wdisplays
|
wdisplays
|
||||||
|
|
Loading…
Reference in a new issue