/karousel

KWin tiling script with scrolling

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Karousel

KWin tiling script with scrolling. Works especially well with ultrawide screens. Use with this for animations.

demo.mp4

Karousel works differently from most tiling window managers in that it does not maximize the width of windows, as this can be undesirable with wider screens, where it results in excessively wide windows that require large return sweeps when reading their content. Instead, it leaves the width of windows to the user's control. This additionally prevents unprompted reflow of window content.

Windows are automatically centered when possible. And when running out of width, windows can be scrolled through horizontally.

Similar window managers include PaperWM and Cardboard.

Limitations

  • Doesn't support multiple screens
  • Doesn't support windows on all desktops
  • Doesn't support windows on multiple activities

Key bindings

The key bindings can be configured in KDE System Settings among KWin's own keyboard shortcuts. Here's the default ones:

Shortcut Action
Meta+Space Toggle floating
Meta+A Move focus left
Meta+D Move focus right (Clashes with default KDE shortcuts, may require manual remapping)
Meta+W Move focus up (Clashes with default KDE shortcuts, may require manual remapping)
Meta+S Move focus down (Clashes with default KDE shortcuts, may require manual remapping)
Meta+Home Move focus to start
Meta+End Move focus to end
Meta+Shift+A Move window left (Moves window out of and into columns)
Meta+Shift+D Move window right (Moves window out of and into columns)
Meta+Shift+W Move window up
Meta+Shift+S Move window down
Meta+Shift+Home Move window to start
Meta+Shift+End Move window to end
Meta+X Toggle stacked layout for focused column (One window in the column visible, others shaded; not supported on Wayland)
Meta+Ctrl+Shift+A Move column left
Meta+Ctrl+Shift+D Move column right
Meta+Ctrl+Shift+Home Move column to start
Meta+Ctrl+Shift+End Move column to end
Meta+Ctrl++ Increase column width
Meta+Ctrl+- Decrease column width
Meta+Alt+Return Center focused window (Scrolls so that the focused window is centered in the screen)
Meta+Alt+A Scroll one column to the left
Meta+Alt+D Scroll one column to the right
Meta+Alt+PgUp Scroll left
Meta+Alt+PgDown Scroll right
Meta+Alt+Home Scroll to start
Meta+Alt+End Scroll to end
Meta+[N] Move focus to column N (Clashes with default KDE shortcuts, may require manual remapping)
Meta+Shift+[N] Move window to column N (Requires manual remapping according to your keyboard layout, e.g. Meta+Shift+1 -> Meta+!)
Meta+Ctrl+Shift+[N] Move column to position N (Requires manual remapping according to your keyboard layout, e.g. Meta+Ctrl+Shift+1 -> Meta+Ctrl+!)
Meta+Ctrl+Shift+F[N] Move column to desktop N
Meta+Ctrl+Shift+Alt+F[N] Move this and all following columns to desktop N