From 58e1df549e62727a40b1febe74a2d72717a3ecc1 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Wed, 7 Jan 2026 19:38:39 -0600 Subject: [PATCH] Minor modifcations made for Niri. --- .config/niri/config.kdl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index be21f52..845e26f 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -105,7 +105,12 @@ input { // automatically. position x=1280 y=0 } - +environment { + DISPLAY ":1" + // # Optional: You may also need to add the following for some specific issues + _JAVA_AWT_WM_NONREPARENTING "1" + GLFW_PLATFORM "x11" +} // Settings that influence how windows are positioned and sized. // Find more information on the wiki: // https://yalter.github.io/niri/Configuration:-Layout @@ -271,6 +276,7 @@ layout { spawn-at-startup "kanshi" spawn-at-startup "waybar" spawn-at-startup "waypaper" "--restore" +spawn-at-startup "xwayland-satellite" spawn-at-startup "/usr/bin/emacs" "--daemon" spawn-at-startup "nextcloud" @@ -367,8 +373,8 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } - Mod+Shift+Return hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } - // Mod+Shift+Return hotkey-overlay-title="Run an Application: rofi" { spawn "rofi -show drun"; } + // Mod+Shift+Return hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel" "-f" "Ubuntu:weight=regular:size=12" "-w" "60" "-x" "14" "-y" "14" "-b" "#282c34ff" "-t" "#abb2bfff" "-m" "#51afefff" "-s" "#1c1f24ff" "-S" "#abb2bfff" "-M" "#51afefff" "-C" "#51afefff" "-p" "RUN:"; } + Mod+Shift+Return hotkey-overlay-title="Run an Application: rofi" { spawn "rofi" "-show" "drun" "-show-icons"; } Mod+Alt+Minus hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.