Initial Niri + Wayland dotfiles
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
input {
|
||||
keyboard {
|
||||
repeat-delay 250
|
||||
repeat-rate 60
|
||||
}
|
||||
|
||||
touchpad {
|
||||
tap
|
||||
natural-scroll
|
||||
dwt
|
||||
accel-speed 0.4
|
||||
}
|
||||
}
|
||||
|
||||
layout {
|
||||
gaps 10
|
||||
border-width 2
|
||||
|
||||
focus-ring {
|
||||
width 3
|
||||
active-color "#89b4fa"
|
||||
inactive-color "#444444"
|
||||
}
|
||||
}
|
||||
|
||||
environment {
|
||||
MOZ_ENABLE_WAYLAND "1"
|
||||
QT_QPA_PLATFORM "wayland"
|
||||
SDL_VIDEODRIVER "wayland"
|
||||
}
|
||||
|
||||
spawn-at-startup [
|
||||
"waybar"
|
||||
"mako"
|
||||
"swww-daemon"
|
||||
"nm-applet --indicator"
|
||||
"polkit-gnome-authentication-agent-1"
|
||||
]
|
||||
|
||||
binds {
|
||||
// apps
|
||||
Mod+Return { spawn "alacritty" }
|
||||
Mod+D { spawn "wofi --show drun" }
|
||||
Mod+E { spawn "thunar" }
|
||||
|
||||
// window control
|
||||
Mod+Q { close-window }
|
||||
Mod+F { toggle-fullscreen }
|
||||
|
||||
// focus
|
||||
Mod+H { focus-left }
|
||||
Mod+J { focus-down }
|
||||
Mod+K { focus-up }
|
||||
Mod+L { focus-right }
|
||||
|
||||
// move windows
|
||||
Mod+Shift+H { move-left }
|
||||
Mod+Shift+J { move-down }
|
||||
Mod+Shift+K { move-up }
|
||||
Mod+Shift+L { move-right }
|
||||
|
||||
// screenshot
|
||||
Print { spawn "grim -g \"$(slurp)\" ~/Pictures/screenshot-$(date +%s).png" }
|
||||
|
||||
// lock / exit
|
||||
Mod+Shift+E { spawn "swaylock -f -c 000000" }
|
||||
Mod+Shift+X { quit }
|
||||
|
||||
// volume
|
||||
XF86AudioRaiseVolume { spawn "pamixer -i 5" }
|
||||
XF86AudioLowerVolume { spawn "pamixer -d 5" }
|
||||
XF86AudioMute { spawn "pamixer -t" }
|
||||
|
||||
// brightness
|
||||
XF86MonBrightnessUp { spawn "brightnessctl set +10%" }
|
||||
XF86MonBrightnessDown { spawn "brightnessctl set 10%-" }
|
||||
}
|
||||
Reference in New Issue
Block a user