From 08bfc7716540110baf1e6d1476b4e530b9282375 Mon Sep 17 00:00:00 2001 From: ElKowar Date: Sat, 16 Nov 2024 17:19:29 +0100 Subject: [PATCH] laptop --- niri/.config/niri/config.kdl | 39 +++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl index 7445582..3ac3c7f 100644 --- a/niri/.config/niri/config.kdl +++ b/niri/.config/niri/config.kdl @@ -33,21 +33,40 @@ environment { // GDK_BACKEND "x11" } -output "DP-2" { - mode "3440x1440@99.982" - //variable-refresh-rate +output "Philips Consumer Electronics Company PHL 345B1C 0x00008E7C" { + mode "3440x1440@60" scale 1 transform "normal" - position x=1440 y=0 + position x=0 y=0 } -output "HDMI-A-1" { - mode "2560x1440" - scale 1 - position x=0 y=0 - transform "270" +output "DP-4" { + off } +output "eDP-1" { + mode "1920x1080@60" + scale 1 + transform "normal" + position x=0 y=1440 +} + + +// output "DP-2" { +// mode "3440x1440@99.982" +// //variable-refresh-rate +// scale 1 +// transform "normal" +// position x=1440 y=0 +// } + +// output "HDMI-A-1" { +// mode "2560x1440" +// scale 1 +// position x=0 y=0 +// transform "270" +// } + layout { gaps 16 // center-focused-column "always" // - "never", "always" "on-overflow" @@ -153,7 +172,7 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+T { spawn "foot"; } - Mod+B { spawn "bash" "-c" "unset DISPLAY && google-chrome --enable-features=TouchpadOverscrollHistoryNavigation"; } + Mod+B { spawn "bash" "-c" "unset DISPLAY && google-chrome --ozone-platform-hint=auto --enable-features=VaapiVideoDecodeLinuxGL --enable-features=TouchpadOverscrollHistoryNavigation"; } Mod+Shift+P { spawn "~/.config/rofi/launchers/type-2/launcher.sh"; } Mod+Shift+B { spawn "firefox"; }