use stable sway because of dri issue

This commit is contained in:
Artemis Tosini 2022-03-29 23:03:38 +00:00
parent a99ed706b2
commit ae9f20c16f
Signed by: artemist
GPG key ID: EE5227935FE3FF18

View file

@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, lib, config, inputs, ... }:
{ pkgs, lib, config, inputs, ... }:
let
rustybar = inputs.rustybar.defaultPackage."${pkgs.system}";
cfg = config.wayland.windowManager.sway;
@ -34,15 +34,12 @@ in
{
wayland.windowManager.sway = {
enable = true;
package = pkgs-unstable.sway.override {
withBaseWrapper = true;
withGtkWrapper = true;
wrapperFeatures.gtk = true;
extraSessionCommands = ''
export MOZ_USE_XINPUT2=1
export _JAVA_AWT_WM_NONREPARENTING=1
export GTK_THEME=Adwaita-dark
'';
};
config = {
modifier = "Mod4";
terminal = "alacritty";