diff --git a/machines/mayushii/hardware-configuration.nix b/machines/mayushii/hardware-configuration.nix index 04eccc7..eb0dd96 100644 --- a/machines/mayushii/hardware-configuration.nix +++ b/machines/mayushii/hardware-configuration.nix @@ -54,9 +54,9 @@ }; }; - # Most of the time I want to use both screens at the same time and suspend it - # regularily by closing the lid - services.logind.lidSwitchDocked = config.services.logind.lidSwitch; + # logind fails to detect that the system is still docked when the external + # monitor is switched off via dpms + services.logind.lidSwitchExternalPower = "ignore"; environment.systemPackages = with pkgs; [ radeontop diff --git a/users/simon/modules/qutebrowser/default.nix b/users/simon/modules/qutebrowser/default.nix index 143fe77..319c134 100644 --- a/users/simon/modules/qutebrowser/default.nix +++ b/users/simon/modules/qutebrowser/default.nix @@ -200,9 +200,6 @@ in url.default_page = "about:blank"; url.start_pages = [ "about:blank" ]; - # hack to circumvent memory leak (https://github.com/qutebrowser/qutebrowser/issues/1476) - qt.force_platform = "xcb"; - # Privacy content.cookies.accept = "no-3rdparty"; content.headers.user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"; diff --git a/users/simon/modules/sway/kanshi.nix b/users/simon/modules/sway/kanshi.nix index 933a20e..c83879e 100644 --- a/users/simon/modules/sway/kanshi.nix +++ b/users/simon/modules/sway/kanshi.nix @@ -11,17 +11,19 @@ let criteria = "eDP-1"; mode = "1920x1080"; position = "0,0"; + status = "enable"; }; home.outputs = [ { criteria = "eDP-1"; - mode = "1920x1080"; - position = "0,60"; + position = "1920,0"; + status = "disable"; } { - criteria = "Dell Inc. DELL U2410 F525M0A104NL"; - mode = "1920x1200"; - position = "1920,0"; + criteria = "Acer Technologies Acer B277K 0x0000F36C"; + mode = "3840x2160"; + position = "0,0"; + scale = 2.0; } ]; };