From 838319207ac9de9abbe5845241e6fb2e5862ee18 Mon Sep 17 00:00:00 2001 From: elkowar Date: Sun, 15 Dec 2024 11:25:23 +0100 Subject: [PATCH] Fix niri --- eggs/niri/.config/niri/.zed/tasks.json | 0 eggs/niri/.config/niri/config.kdl | 26 ++++++++++++++++---------- yolk.luau | 3 +++ 3 files changed, 19 insertions(+), 10 deletions(-) delete mode 100644 eggs/niri/.config/niri/.zed/tasks.json diff --git a/eggs/niri/.config/niri/.zed/tasks.json b/eggs/niri/.config/niri/.zed/tasks.json deleted file mode 100644 index e69de29..0000000 diff --git a/eggs/niri/.config/niri/config.kdl b/eggs/niri/.config/niri/config.kdl index 1371cc4..4a0c41d 100644 --- a/eggs/niri/.config/niri/config.kdl +++ b/eggs/niri/.config/niri/config.kdl @@ -15,7 +15,7 @@ input { tap natural-scroll // accel-speed 0.2 - + scroll-factor 0.7 } mouse { @@ -23,7 +23,6 @@ input { } trackpoint { accel-speed -0.1 - //accel-speed -0.1 } //warp-mouse-to-focus focus-follows-mouse max-scroll-amount="20%" @@ -64,14 +63,21 @@ environment { // position x=0 y=1440 // } -// {% end %} +// {% elif device.desktop() %} +// output "Philips Consumer Electronics Company PHL 345B1C 0x00008E7C" { + // mode "3440x1440@99.982" + // scale 1 + // transform "normal" + // variable-refresh-rate on-demand=true + // position x=2560 y=0 +// } -//output "DP-4" { - //mode "2560x1440" - //scale 1 - //position x=0 y=0 - //off -//} +// output "HDMI-A-1" { + // mode "2560x1440" + // scale 1 + // position x=0 y=0 +// } +// {% end %} @@ -110,7 +116,7 @@ spawn-at-startup "kdeconnect-indicator" spawn-at-startup "bash" "-c" "swaybg -m fill -i ~/wallpapers/green_leaves.jpg" spawn-at-startup "waybar" spawn-at-startup "~/.config/niri/clipsync watch with-notifications" -spawn-at-startup +spawn-at-startup // prefer-no-csd diff --git a/yolk.luau b/yolk.luau index e7f9e20..e80e7ea 100644 --- a/yolk.luau +++ b/yolk.luau @@ -5,6 +5,9 @@ device = { thinkix = function() return SYSTEM.hostname == "thinkix" end, + desktop = function() + return SYSTEM.hostname == "fedora.fritz.box" + end, laptop = function() return SYSTEM.hostname == "thinkix" or SYSTEM.hostname == "frissnix" end,