aboutsummaryrefslogtreecommitdiff
path: root/users/kassouni/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'users/kassouni/desktop')
-rw-r--r--users/kassouni/desktop/sway/sway.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/users/kassouni/desktop/sway/sway.nix b/users/kassouni/desktop/sway/sway.nix
index f949bd7..c41e62a 100644
--- a/users/kassouni/desktop/sway/sway.nix
+++ b/users/kassouni/desktop/sway/sway.nix
@@ -1,6 +1,8 @@
{
pkgs,
+ lib,
config,
+ osConfig,
...
}:
let
@@ -12,6 +14,8 @@ in
enable = true;
wrapperFeatures.gtk = true; # Fixes common issues with GTK 3 apps
+ extraOptions = [ "--unsupported-gpu" ];
+
config = {
window.titlebar = false;
menu = "fuzzel";
@@ -39,6 +43,13 @@ in
natural_scroll enabled
dwt disabled
}
+
+ input "type:pointer" {
+ accel_profile flat
+ pointer_accel 0.2
+ }
+ '' + lib.optionalString (osConfig.networking.hostName == "hierophant") ''
+ output DP-3 mode 3840x2160@159.975Hz
'';
};