summaryrefslogtreecommitdiff
path: root/niri
diff options
context:
space:
mode:
Diffstat (limited to 'niri')
-rw-r--r--niri/config.kdl44
1 files changed, 34 insertions, 10 deletions
diff --git a/niri/config.kdl b/niri/config.kdl
index 9971a8d..16e8c11 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 "caps:escape"
}
// Enable numlock on startup, omitting this setting disables it.
@@ -69,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 "<width>x<height>" or "<width>x<height>@<refresh rate>".
@@ -100,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
@@ -115,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.
@@ -128,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.
@@ -189,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"
@@ -255,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.
@@ -585,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"; }
}