feat(niri): ricing never ends

This commit is contained in:
Florian Schmitt 2025-01-13 20:11:38 +03:00
parent 328ecdffc3
commit d779b76be0
8 changed files with 105 additions and 18 deletions

View file

@ -42,7 +42,7 @@ input {
// Focus windows and outputs automatically when moving the mouse into them.
// Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
// focus-follows-mouse max-scroll-amount="0%"
focus-follows-mouse max-scroll-amount="0%"
}
environment {
@ -207,7 +207,9 @@ spawn-at-startup "xwayland-satellite"
spawn-at-startup "xrandr --output eDP-1 --primary"
spawn-at-startup "waybar"
spawn-at-startup "swww-daemon"
spawn-at-startup "~/Code/nixos-config/scripts/swww.sh ~/Nextcloud/Images/Wallpapers"
spawn-at-startup "wl-paste --type text --watch cliphist store # Stores only text data"
spawn-at-startup "wl-paste --type image --watch cliphist store # Stores only image data"
spawn-at-startup "~/Code/nixos-config/scripts/swww.sh ~/Code/wallpaper"
spawn-at-startup "firefox"
spawn-at-startup "kitty"
@ -389,8 +391,8 @@ binds {
// To avoid scrolling through workspaces really fast, you can use
// the cooldown-ms property. The bind will be rate-limited to this value.
// You can set a cooldown on any bind, but it's most useful for the wheel.
Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
Mod+Shift+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
Mod+Shift+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; }
@ -401,8 +403,8 @@ binds {
// Usually scrolling up and down with Shift in applications results in
// horizontal scrolling; these binds replicate that.
Mod+Shift+WheelScrollDown { focus-column-right; }
Mod+Shift+WheelScrollUp { focus-column-left; }
Mod+WheelScrollDown { focus-column-right; }
Mod+WheelScrollUp { focus-column-left; }
Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
@ -464,6 +466,8 @@ binds {
Mod+Shift+F { fullscreen-window; }
Mod+C { center-column; }
Mod+Ctrl+B { spawn "~/Code/nixos-config/scripts/swww.sh ~/Code/wallpaper"; }
Mod+Ctrl+W { spawn "~/Code/nixos-config/scripts/restart-waybar.sh"; }
// Finer width adjustments.
// This command can also:
// * set width in pixels: "1000"