feat(niri): commit niri config
This commit is contained in:
parent
333e0a9c6c
commit
bccdcc849d
1 changed files with 202 additions and 0 deletions
202
.config/niri/config.kdl
Normal file
202
.config/niri/config.kdl
Normal file
|
|
@ -0,0 +1,202 @@
|
||||||
|
input {
|
||||||
|
keyboard {
|
||||||
|
xkb {
|
||||||
|
layout "us"
|
||||||
|
variant "dvp"
|
||||||
|
options "caps:backspace"
|
||||||
|
}
|
||||||
|
repeat-delay 350;
|
||||||
|
repeat-rate 60;
|
||||||
|
track-layout "global";
|
||||||
|
}
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
tap
|
||||||
|
dwt
|
||||||
|
}
|
||||||
|
|
||||||
|
mouse {
|
||||||
|
}
|
||||||
|
|
||||||
|
trackpoint {
|
||||||
|
}
|
||||||
|
focus-follows-mouse
|
||||||
|
}
|
||||||
|
|
||||||
|
output "eDP-2" {
|
||||||
|
mode "2560x1600@165.00"
|
||||||
|
scale 1
|
||||||
|
transform "normal"
|
||||||
|
position x=2560 y=0
|
||||||
|
}
|
||||||
|
|
||||||
|
output "DP-5" {
|
||||||
|
mode "3440x1440@100.00"
|
||||||
|
scale 1
|
||||||
|
transform "normal"
|
||||||
|
position x=3440 y=0
|
||||||
|
}
|
||||||
|
|
||||||
|
layout {
|
||||||
|
gaps 16
|
||||||
|
center-focused-column "never"
|
||||||
|
preset-column-widths {
|
||||||
|
proportion 0.25
|
||||||
|
proportion 0.33333
|
||||||
|
proportion 0.5
|
||||||
|
proportion 0.66667
|
||||||
|
proportion 0.75
|
||||||
|
}
|
||||||
|
default-column-width { proportion 0.5; }
|
||||||
|
focus-ring {
|
||||||
|
width 2
|
||||||
|
active-color "#ff6054"
|
||||||
|
inactive-color "#f1f1f1"
|
||||||
|
}
|
||||||
|
border {
|
||||||
|
off
|
||||||
|
}
|
||||||
|
shadow {
|
||||||
|
softness 30
|
||||||
|
spread 5
|
||||||
|
offset x=0 y=5
|
||||||
|
color "#0007"
|
||||||
|
}
|
||||||
|
struts {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
spawn-at-startup "xwayland-satellite"
|
||||||
|
spawn-at-startup "mako"
|
||||||
|
spawn-at-startup "waybar"
|
||||||
|
screenshot-path null
|
||||||
|
|
||||||
|
animations {
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
|
||||||
|
open-floating true
|
||||||
|
}
|
||||||
|
|
||||||
|
/-window-rule {
|
||||||
|
geometry-corner-radius 0
|
||||||
|
clip-to-geometry true
|
||||||
|
}
|
||||||
|
|
||||||
|
environment {
|
||||||
|
DISPLAY ":0"
|
||||||
|
QT_QPA_PLATFORM "wayland"
|
||||||
|
}
|
||||||
|
|
||||||
|
binds {
|
||||||
|
Mod+Slash { toggle-overview; }
|
||||||
|
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||||
|
Mod+Return { spawn "emacsclient" "-n" "-c" "-a" "\"\""; }
|
||||||
|
Mod+Ctrl+Return { spawn "alacritty"; }
|
||||||
|
Mod+Space { spawn "fuzzel"; }
|
||||||
|
Super+Alt+L { spawn "systemctl" "suspend"; }
|
||||||
|
|
||||||
|
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+"; }
|
||||||
|
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02-"; }
|
||||||
|
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
||||||
|
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
||||||
|
|
||||||
|
Mod+A { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+"; }
|
||||||
|
Mod+O { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02-"; }
|
||||||
|
Mod+Shift+A { spawn "brightnessctl" "set" "+2%"; }
|
||||||
|
Mod+Shift+O { spawn "brightnessctl" "set" "2%-"; }
|
||||||
|
|
||||||
|
Mod+Shift+Semicolon { close-window; }
|
||||||
|
|
||||||
|
Mod+Left { focus-column-left; }
|
||||||
|
Mod+Down { focus-window-down; }
|
||||||
|
Mod+Up { focus-window-up; }
|
||||||
|
Mod+Right { focus-column-right; }
|
||||||
|
Mod+H { focus-column-left; }
|
||||||
|
Mod+T { focus-window-down; }
|
||||||
|
Mod+N { focus-window-up; }
|
||||||
|
Mod+S { focus-column-right; }
|
||||||
|
|
||||||
|
Mod+Shift+Left { move-column-left; }
|
||||||
|
Mod+Shift+Down { move-window-down; }
|
||||||
|
Mod+Shift+Up { move-window-up; }
|
||||||
|
Mod+Shift+Right { move-column-right; }
|
||||||
|
Mod+Shift+H { move-column-left; }
|
||||||
|
Mod+Shift+T { move-window-down; }
|
||||||
|
Mod+Shift+N { move-window-up; }
|
||||||
|
Mod+Shift+S { move-column-right; }
|
||||||
|
|
||||||
|
Mod+Home { focus-column-first; }
|
||||||
|
Mod+End { focus-column-last; }
|
||||||
|
Mod+Ctrl+Home { move-column-to-first; }
|
||||||
|
Mod+Ctrl+End { move-column-to-last; }
|
||||||
|
|
||||||
|
Mod+Page_Down { focus-workspace-down; }
|
||||||
|
Mod+Page_Up { focus-workspace-up; }
|
||||||
|
Mod+J { focus-workspace-down; }
|
||||||
|
Mod+K { focus-workspace-up; }
|
||||||
|
Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
|
||||||
|
Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
|
||||||
|
Mod+Shift+J { move-column-to-workspace-down; }
|
||||||
|
Mod+Shift+K { move-column-to-workspace-up; }
|
||||||
|
|
||||||
|
Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
|
||||||
|
Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
|
||||||
|
Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
|
||||||
|
Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
|
||||||
|
|
||||||
|
Mod+WheelScrollRight { focus-column-right; }
|
||||||
|
Mod+WheelScrollLeft { focus-column-left; }
|
||||||
|
Mod+Ctrl+WheelScrollRight { move-column-right; }
|
||||||
|
Mod+Ctrl+WheelScrollLeft { move-column-left; }
|
||||||
|
|
||||||
|
Mod+Shift+WheelScrollDown { focus-column-right; }
|
||||||
|
Mod+Shift+WheelScrollUp { focus-column-left; }
|
||||||
|
Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
|
||||||
|
Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
|
||||||
|
|
||||||
|
Mod+Ampersand { focus-workspace 1; }
|
||||||
|
Mod+BracketLeft { focus-workspace 2; }
|
||||||
|
Mod+BraceLeft { focus-workspace 3; }
|
||||||
|
Mod+BraceRight { focus-workspace 4; }
|
||||||
|
Mod+ParenLeft { focus-workspace 5; }
|
||||||
|
Mod+Equal { focus-workspace 6; }
|
||||||
|
Mod+Asterisk { focus-workspace 7; }
|
||||||
|
Mod+ParenRight { focus-workspace 8; }
|
||||||
|
Mod+Plus { focus-workspace 9; }
|
||||||
|
Mod+Shift+Ampersand { move-column-to-workspace 1; }
|
||||||
|
Mod+Shift+BracketLeft { move-column-to-workspace 2; }
|
||||||
|
Mod+Shift+BraceLeft { move-column-to-workspace 3; }
|
||||||
|
Mod+Shift+BraceRight { move-column-to-workspace 4; }
|
||||||
|
Mod+Shift+ParenLeft { move-column-to-workspace 5; }
|
||||||
|
Mod+Shift+Equal { move-column-to-workspace 6; }
|
||||||
|
Mod+Shift+Asterisk { move-column-to-workspace 7; }
|
||||||
|
Mod+Shift+ParenRight { move-column-to-workspace 8; }
|
||||||
|
Mod+Shift+Plus { move-column-to-workspace 9; }
|
||||||
|
|
||||||
|
Mod+Comma { consume-window-into-column; }
|
||||||
|
Mod+Period { expel-window-from-column; }
|
||||||
|
|
||||||
|
Mod+R { switch-preset-column-width; }
|
||||||
|
Mod+Shift+R { switch-preset-window-height; }
|
||||||
|
Mod+Ctrl+R { reset-window-height; }
|
||||||
|
|
||||||
|
Mod+U { maximize-column; }
|
||||||
|
Mod+Shift+F { fullscreen-window; }
|
||||||
|
Mod+Ctrl+F { expand-column-to-available-width; }
|
||||||
|
Mod+C { center-column; }
|
||||||
|
Mod+V { toggle-window-floating; }
|
||||||
|
Mod+Shift+V { switch-focus-between-floating-and-tiling; }
|
||||||
|
Mod+W { toggle-column-tabbed-display; }
|
||||||
|
Mod+E { screenshot; }
|
||||||
|
Mod+Shift+E { screenshot-window; }
|
||||||
|
Mod+Ctrl+E { screenshot-screen; }
|
||||||
|
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
||||||
|
Mod+Shift+P { power-off-monitors; }
|
||||||
|
|
||||||
|
Mod+Ctrl+H { focus-monitor-left; }
|
||||||
|
Mod+Ctrl+S { focus-monitor-right; }
|
||||||
|
Mod+Ctrl+Shift+H { move-column-to-monitor-left; }
|
||||||
|
Mod+Ctrl+Shift+S { move-column-to-monitor-right; }
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue