summaryrefslogtreecommitdiff
path: root/niri
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-07-26 14:16:06 -0500
committerzachir <zachir@librem.one>2025-07-26 14:16:06 -0500
commit952633dbe9b7d6896e771fe8225cab8e963ff833 (patch)
tree5303760c010dcc8cd48b57230eabb87134edbe9d /niri
parentc9ded4f946c2ab56e85553f51df03a1e87adad4b (diff)
parentb9a2511463cad1705ce5b506346b4b84bf181d21 (diff)
Merge branch 'master' into cla
Diffstat (limited to 'niri')
-rw-r--r--niri/config.kdl22
1 files changed, 15 insertions, 7 deletions
diff --git a/niri/config.kdl b/niri/config.kdl
index 5545e58..8248563 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.
@@ -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.
@@ -271,10 +271,15 @@ 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"
+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.
@@ -601,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"; }
}