diff --git a/users/configs/desktop/sway/default.nix b/users/configs/desktop/sway/default.nix index bd25631..6f2adae 100644 --- a/users/configs/desktop/sway/default.nix +++ b/users/configs/desktop/sway/default.nix @@ -45,9 +45,11 @@ in { "type:pointer" = { accel_profile = "flat"; pointer_accel = "0.5"; + natural_scroll = "disabled"; }; "type:touchpad" = { scroll_factor = "0.5"; + natural_scroll = "enabled"; }; }; output = if hostname == "sidon" @@ -69,6 +71,10 @@ in { position = "0 0"; scale = "1.33"; }; + DP-4 = { + position = "2880 0"; + scale = "1.33"; + }; HDMI-A-1 = { position = "2880 0"; scale = "1.33"; diff --git a/users/daniel/host-specific/pingbox/default.nix b/users/daniel/host-specific/pingbox/default.nix index 7d4e8d3..bd60afe 100644 --- a/users/daniel/host-specific/pingbox/default.nix +++ b/users/daniel/host-specific/pingbox/default.nix @@ -25,4 +25,9 @@ services.easyeffects = { enable = true; }; + + wayland.windowManager.sway.extraConfig = '' + bindswitch lid:on output eDP-1 disable + bindswitch lid:off output eDP-1 enable + ''; }