From 8f1782eccd40c71ec7c489790f958a84243e7362 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Wed, 16 Apr 2025 13:50:22 +0200 Subject: [PATCH] :bug: [thinkpad] Fix hypr overrides not overriding --- hosts/thinkpad/home-manager/hyprland/hyprpanel.nix | 2 +- hosts/thinkpad/home-manager/hyprland/settings.nix | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hosts/thinkpad/home-manager/hyprland/hyprpanel.nix b/hosts/thinkpad/home-manager/hyprland/hyprpanel.nix index 68594c8..ea6dee6 100644 --- a/hosts/thinkpad/home-manager/hyprland/hyprpanel.nix +++ b/hosts/thinkpad/home-manager/hyprland/hyprpanel.nix @@ -4,7 +4,7 @@ }: { - programs.hyprpanel.settings.layout."bar.layouts"."*".right = lib.mkDefault [ + programs.hyprpanel.settings.layout."bar.layouts"."*".right = lib.mkForce [ "kbinput" "volume" "network" diff --git a/hosts/thinkpad/home-manager/hyprland/settings.nix b/hosts/thinkpad/home-manager/hyprland/settings.nix index 0b11230..aa05258 100644 --- a/hosts/thinkpad/home-manager/hyprland/settings.nix +++ b/hosts/thinkpad/home-manager/hyprland/settings.nix @@ -19,15 +19,15 @@ ]; input = { - sensitivity = lib.mkDefault 0.4; # -1.0 - 1.0, 0 means no modification. - touchpad.natural_scroll = lib.mkDefault true; + sensitivity = lib.mkForce 0.4; # -1.0 - 1.0, 0 means no modification. + touchpad.natural_scroll = lib.mkForce true; }; - gestures = lib.mkDefault { - workspace_swipe = true; - workspace_swipe_distance = 150; - workspace_swipe_min_speed_to_force = 0; - workspace_swipe_cancel_ratio = 0.5; + gestures = { + workspace_swipe = lib.mkForce true; + workspace_swipe_distance = lib.mkForce 150; + workspace_swipe_min_speed_to_force = lib.mkForce 0; + workspace_swipe_cancel_ratio = lib.mkForce 0.5; }; }; }