diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl index c0eb2ee..6fea211 100644 --- a/niri/.config/niri/config.kdl +++ b/niri/.config/niri/config.kdl @@ -8,18 +8,17 @@ spawn-at-startup "xwayland-satellite" environment { DISPLAY ":0" XCURSOR_SIZE "12" - // QT_QPA_PLATFORMTHEME "qt5ct" + QT_QPA_PLATFORMTHEME "qt5ct" // GTK_THEME "adw-gtk3-dark:dark" // GDK_BACKEND "wayland,x11,*" - // QT_QPA_PLATFORM "wayland;xcb" + QT_QPA_PLATFORM "wayland;xcb" // QT_AUTO_SCREEN_SCALE_FACTOR "1" - // QT_QPA_PLATFORM "wayland;xcb" - // LIBVA_DRIVER_NAME "nvidia" - // XDG_SESSION_TYPE "wayland" - // GBM_BACKEND "nvidia-drm" - // __GLX_VENDOR_LIBRARY_NAME "nvidia" - // WLR_NO_HARDWARE_CURSORS "1" + LIBVA_DRIVER_NAME "nvidia" + __GLX_VENDOR_LIBRARY_NAME "nvidia" + XDG_SESSION_TYPE "wayland" + GBM_BACKEND "nvidia-drm" + WLR_NO_HARDWARE_CURSORS "1" } @@ -61,8 +60,8 @@ output "Crestron Electronics, Inc. Crestron Unknown" { // The Factory output "Microstep MSI G274QPF CC2H633602149" { - mode "2560x1440@60.000" - position x=0 y=-1440 + mode "1920x1080@144.000" + position x=0 y=-1080 } output "HDMI-A-1" { @@ -160,7 +159,7 @@ layout { focus-ring { // off - width 4 + width 3 // CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl(), etc. // active-color "rgba(24, 56, 104, 0.57)" @@ -194,7 +193,7 @@ layout { // You can enable drop shadows for windows. shadow { // Uncomment the next line to enable shadows. - on + // on // By default, the shadow draws only around its window, and not behind it. // Note that niri has no way of knowing about the CSD window corner @@ -225,8 +224,8 @@ layout { // Top and bottom struts will simply add outer gaps in addition to the area occupied by // layer-shell panels and regular gaps. struts { - left 12 - right 12 + left 9 + right 9 top 0 bottom 0 } @@ -363,6 +362,8 @@ binds { Mod+B { spawn "blueberry"; } Mod+Z { spawn "playerctl" "play-pause"; } Mod+X { spawn "playerctl" "next"; } + + Mod+A { spawn "wofi-pass" "-c"; } Mod+Shift+B { spawn "pavucontrol"; } Mod+Period { spawn "wofi-emoji"; } @@ -581,3 +582,11 @@ binds { overview { backdrop-color "#232337" } + +layer-rule { + // This is for swaybg; change for other wallpaper tools. + // Find the right namespace by running niri msg layers. + match namespace="^wallpaper$" + place-within-backdrop true +} +