From 1409e3b988c0a9205fc870d9bba771193c67b5df Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Wed, 30 Apr 2025 21:55:18 +0100 Subject: [PATCH] laptop stuff --- users/configs/desktop/sway/default.nix | 6 ++++++ users/daniel/host-specific/pingbox/default.nix | 5 +++++ 2 files changed, 11 insertions(+) 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 + ''; }