Repository navigation
SwineWM 0.3.0
Mouse and decorations (see the roadmap in
doc/project_summary.md): focus follows mouse,
moving and resizing windows with the mouse, window borders and title bars
in the client.* colours, tabbed and stacked title bars, plus a
replacement for the "Open with" dialog in swinemenu.
Added
- Mouse support, ported from sway:
focus_follows_mouse yes|no|always,
floating_modifier <mod> [normal|inverse]($mod + left button moves a
floating window or drags a tiled one to another place, $mod + right
button resizes either),tiling_drag,tiling_drag_threshold,
mouse_warping output|container|none, and mouse bindings
(bindsym --whole-window $mod+button4 workspace prev). - Window decorations, as in sway:
border none|normal|pixel|toggle,
default_border,default_floating_border,client.focused,
client.focused_inactive,client.unfocused,client.urgent,
smart_borders,hide_edge_borders smart|smart_no_gapsand
opacity. On Windows 11 the border is the window's own (1 px) border in
thechild_bordercolour;border normalkeeps the window's title bar
and colours it,pixelandnoneremove it. Tiled windows get square
corners. Everything is undone when swinewm exits, after a crash and by
swinewm --recover. sway's defaults apply, so title bars now follow the
client.*colours (dark blue for the focused window) unless the config
sets other colours. - Tabbed and stacked containers get title bars, as in sway: one row of
tabs, or one row per child, in theclient.*colours withfont,
title_align,titlebar_padding,titlebar_border_thicknessand
client.focused_tab_title. A click on a tab focuses it, the wheel
switches tabs, and title bar mouse bindings (bindsym button2 kill) work
on them.title_formatsets the tab titles. - The drop zone of a dragged tiled window uses
client.focused's
indicator colour. windows_theme dark|light|auto(swinewm extension, off by default):
switches Windows' light/dark mode, which Windows' dialogs and most
applications follow, while swinewm runs;autofollows the brightness
of the bar's background. Your own setting comes back on exit, after a
crash and withswinewm --recover.swinemenu --open-with <file>, a replacement for Windows' "Open with"
dialog (which stays empty without Explorer): it lists the programs
registered for the file's type and opens the file with the chosen one.
swinemenu --install-open-withadds "Open with swinemenu" to every
file's context menu and uses swinemenu for files no program is set for;
--uninstall-open-withremoves both.
Fixed
- A floating window dragged by its title bar onto another monitor now
joins the workspace shown there, as in sway.