From 6b2673b4c82fbec53ad2960058b23c1690ea479b Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 25 Jul 2025 19:46:12 -0500 Subject: Use US keyboard with caps->escape in niri --- niri/config.kdl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'niri') diff --git a/niri/config.kdl b/niri/config.kdl index 9971a8d..1a826c6 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -15,6 +15,8 @@ input { // For example: // layout "us,ru" // options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" + layout "us" + options "escape:nocaps" } // Enable numlock on startup, omitting this setting disables it. -- cgit v1.2.3 From 1f2b7e8a90d5987b0b3b1ac3fefb24efe2367e24 Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 25 Jul 2025 19:47:35 -0500 Subject: Add all displays in Niri, but don't configure any for master --- niri/config.kdl | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'niri') diff --git a/niri/config.kdl b/niri/config.kdl index 1a826c6..b83e4b4 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -71,9 +71,9 @@ input { // Find more information on the wiki: // https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs // Remember to uncomment the node by removing "/-"! -output "eDP-1" { +/-output "eDP-1" { // Uncomment this line to disable this output. - // off + //off // Resolution and, optionally, refresh rate of the output. // The format is "x" or "x@". @@ -102,6 +102,20 @@ output "eDP-1" { position x=0 y=0 } +/-output "DP-2" { + mode "1920x1080@75.000" + scale 1 + transform "normal" + position x=0 y=0 +} + +/-output "HDMI-A-1" { + mode "1920x1080@75.000" + scale 1 + transform "normal" + position x=1920 y=0 +} + // Settings that influence how windows are positioned and sized. // Find more information on the wiki: // https://github.com/YaLTeR/niri/wiki/Configuration:-Layout -- cgit v1.2.3 From da0ed5c9fc1f509843711bbadff47e7180ff15bd Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 25 Jul 2025 19:49:57 -0500 Subject: Set unused niri border colors too --- niri/config.kdl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'niri') diff --git a/niri/config.kdl b/niri/config.kdl index b83e4b4..cab419f 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -205,8 +205,8 @@ layout { off width 4 - active-color "#ffc87f" - inactive-color "#505050" + active-color "#198844" + inactive-color "#1b1d1c" // Color of the border around windows that request your attention. urgent-color "#9b0000" -- cgit v1.2.3 From f41964243b0c4945b7ef97956e3a2314d7e21c4d Mon Sep 17 00:00:00 2001 From: ZachIR Date: Fri, 25 Jul 2025 21:28:51 -0500 Subject: Fix comments for Mod+R --- niri/config.kdl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'niri') diff --git a/niri/config.kdl b/niri/config.kdl index cab419f..9aade19 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -131,7 +131,7 @@ layout { // together with the previously focused column. center-focused-column "never" - // You can customize the widths that "switch-preset-column-width" (Mod+E) toggles between. + // You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between. preset-column-widths { // Proportion sets the width as a fraction of the output width, taking gaps into account. // For example, you can perfectly fit four windows sized "proportion 0.25" on an output. @@ -144,7 +144,7 @@ layout { // fixed 1920 } - // You can also customize the heights that "switch-preset-window-height" (Mod+Shift+E) toggles between. + // You can also customize the heights that "switch-preset-window-height" (Mod+Shift+R) toggles between. // preset-window-heights { } // You can change the default width of the new windows. -- cgit v1.2.3 From 872d95f7baf9991eb1a1e2075d77e94696acf945 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Fri, 25 Jul 2025 21:36:38 -0500 Subject: Fix syntax for caps->escape in Niri --- niri/config.kdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'niri') diff --git a/niri/config.kdl b/niri/config.kdl index 9aade19..752a1f4 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -16,7 +16,7 @@ input { // layout "us,ru" // options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" layout "us" - options "escape:nocaps" + options "caps:escape" } // Enable numlock on startup, omitting this setting disables it. -- cgit v1.2.3 From 2ec47dc199559863409216795de7dae00121e4a3 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Fri, 25 Jul 2025 21:36:53 -0500 Subject: Fix niri autostarts for master --- niri/config.kdl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'niri') diff --git a/niri/config.kdl b/niri/config.kdl index 752a1f4..6bf00ad 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -271,10 +271,10 @@ layout { // See the binds section below for more spawn examples. // This line starts waybar, a commonly used bar for Wayland compositors. -spawn-at-startup "dinit" -spawn-at-startup "waybar" "-c" "~/.config/waybar/config-niri" -//spawn-at-startup "swaybg" "-i" "~/Pictures/background.png" -//spawn-at-startup "swayidle" +spawn-at-startup "waybar" +spawn-at-startup "hyprpaper" +spawn-at-startup "hypridle" +spawn-at-startup "dunst" // Uncomment this line to ask the clients to omit their client-side decorations if possible. // If the client will specifically ask for CSD, the request will be honored. -- cgit v1.2.3 From b675770aed76f0ec433bd2212309083d6fc7965f Mon Sep 17 00:00:00 2001 From: ZachIR Date: Fri, 25 Jul 2025 21:59:56 -0500 Subject: Start xwayland-satellite at startup in Niri --- niri/config.kdl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'niri') diff --git a/niri/config.kdl b/niri/config.kdl index 6bf00ad..297a51e 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -275,6 +275,11 @@ spawn-at-startup "waybar" spawn-at-startup "hyprpaper" spawn-at-startup "hypridle" spawn-at-startup "dunst" +spawn-at-startup "xwayland-satellite" + +environment { + DISPLAY ":0" +} // Uncomment this line to ask the clients to omit their client-side decorations if possible. // If the client will specifically ask for CSD, the request will be honored. -- cgit v1.2.3 From bb5665653225727065d12807dabea9f0b4004ee3 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Fri, 25 Jul 2025 22:00:08 -0500 Subject: Add lwc shortcut to Niri --- niri/config.kdl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'niri') diff --git a/niri/config.kdl b/niri/config.kdl index 297a51e..16e8c11 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -606,4 +606,7 @@ binds { // Powers off the monitors. To turn them back on, do any input like // moving the mouse or pressing any other key. Mod+Shift+P { power-off-monitors; } + + // Browsers + Super+Alt+W { spawn "lwc"; } } -- cgit v1.2.3