Skip to content

Instantly share code, notes, and snippets.

@bluedragon1221
Created August 8, 2024 15:32
Show Gist options
  • Save bluedragon1221/dab427713a0217ba5bdbeb316b507239 to your computer and use it in GitHub Desktop.
Save bluedragon1221/dab427713a0217ba5bdbeb316b507239 to your computer and use it in GitHub Desktop.
niri configuration
output "eDP-1" {
scale 1.0
}
binds {
Mod+Shift+Q { quit skip-confirmation=true; }
Mod+F { maximize-column; }
Mod+Left { focus-column-left; }
Mod+right { focus-column-right; }
Mod+Shift+Left { move-column-left; }
Mod+Shift+Right { move-column-right; }
Mod+Minus { set-column-width "-10%"; }
Mod+Equal { set-column-width "+10%"; }
Mod+Q { close-window; }
Mod+X { spawn "kitty"; }
Mod+B { spawn "firefox"; }
Mod+C { spawn "code" "--ozone-platform=wayland"; }
Mod+M { spawn "sh" "-c" "QT_QPA_PLATFORM=wayland-egl mscore"; }
Mod+O { spawn "obsidian" "--ozone-platform=wayland"; }
XF86AudioRaiseVolume { spawn "pamixer" "-i" "10"; }
XF86AudioLowerVolume { spawn "pamixer" "-d" "10"; }
XF86AudioMute { spawn "pamixer" "-t"; }
}
spawn-at-startup "sh" "-c" "swaybg -i ~/Pictures/evening-sky.png"
input {
warp-mouse-to-focus
keyboard {
xkb {
options "ctrl:nocaps"
}
}
touchpad {
tap
}
}
prefer-no-csd
layout {
gaps 6
focus-ring {
off
}
border {
width 3
active-color "#c6a0f6"
inactive-color "#24273a"
}
}
window-rule {
geometry-corner-radius 6
clip-to-geometry true
}
hotkey-overlay {
skip-at-startup
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment