modularize niri config
This commit is contained in:
parent
272aadbda3
commit
efbbe37a30
6 changed files with 436 additions and 502 deletions
67
configs/niri/base/options.kdl
Normal file
67
configs/niri/base/options.kdl
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
// ── Layout Config ───────────────────────────────────────────────────
|
||||
layout {
|
||||
gaps 10
|
||||
always-center-single-column
|
||||
center-focused-column "never"
|
||||
preset-column-widths {
|
||||
// The default preset widths are 1/3, 1/2 and 2/3 of the output.
|
||||
proportion 0.33333
|
||||
proportion 0.5
|
||||
proportion 0.66667
|
||||
}
|
||||
preset-window-heights {
|
||||
|
||||
}
|
||||
default-column-width {
|
||||
proportion 0.5
|
||||
}
|
||||
focus-ring {
|
||||
// Uncomment this line to disable the focus ring.
|
||||
// off
|
||||
// How many logical pixels the ring extends out from the windows.
|
||||
width 2
|
||||
active-color "#7fc8ff"
|
||||
inactive-color "#505050"
|
||||
}
|
||||
}
|
||||
// ── Environment Variables ───────────────────────────────────────────
|
||||
environment {
|
||||
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
||||
QT_STYLE_OVERRIDE "kvantum"
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR "1"
|
||||
QT_QPA_PLATFORM "wayland;xcb"
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION "1"
|
||||
QT_QPA_PLATFORMTHEME "qt5ct"
|
||||
MOZ_ENABLE_WAYLAND "1"
|
||||
XCURSOR_SIZE "24"
|
||||
GTK_THEME "catppuccin-macchiato-teal-standard-default"
|
||||
SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/rbw/ssh-agent-socket"
|
||||
EDITOR "nvim"
|
||||
VISUAL "nvim"
|
||||
TERMINAL "/usr/bin/kitty"
|
||||
}
|
||||
// ── Input Options ───────────────────────────────────────────────────
|
||||
input {
|
||||
keyboard {
|
||||
xkb {
|
||||
layout "latam"
|
||||
options "caps:escape"
|
||||
}
|
||||
numlock
|
||||
}
|
||||
touchpad {
|
||||
tap
|
||||
natural-scroll
|
||||
}
|
||||
focus-follows-mouse
|
||||
}
|
||||
// ── Misc ────────────────────────────────────────────────────────────
|
||||
cursor {
|
||||
xcursor-theme "catppuccin-macchiato-lavender-cursors"
|
||||
xcursor-size 24
|
||||
}
|
||||
hotkey-overlay {
|
||||
skip-at-startup
|
||||
}
|
||||
screenshot-path null
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue