aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* add a rivermonad backend next to the EWMH oneHEADmastertv11 days5-127/+303
| | | | | | | | | | | | | | | | | | desktop-pager and desktops now also work on rivermonad, a window manager for the river Wayland compositor, over its IPC socket. The window manager access of desktop-pager moves behind Pager.Backend, with the existing code in Pager.Backend.X11 and the new one in Pager.Backend.Rivermonad. desktops gets the same choice. rivermonad is used when its socket for this Wayland display exists; DESKTOP_PAGER_BACKEND=x11 or =rivermonad overrides that. Rivermonad.Client, in the library, is the IPC client: a snapshot of all workspaces and windows, and actions to view a workspace, move a window and set the list of workspaces. On X11, desktops are now looked up by name when the pager acts instead of in the list read at startup.
* shift the window given on the command linetv11 days1-4/+8
| | | | | | | | | | shift and shiftview carried an undefined window, so choosing a workspace in either mode crashed when the window was moved. They now move the first window id from the command line, which is the focused window of the focused workspace. _NET_ACTIVE_WINDOW is no longer read: its value was unused, and the pager failed to start when the property was missing.
* blessings: 2 -> 3tv2026-04-092-13/+13
|
* modernize cabal 2.4 -> 3.0, Haskell2010 -> GHC2024tv2026-03-094-5/+0
|
* drop Data.Text.Extra1.0.1tv2025-12-042-9/+0
|
* rename to desktop-pagertv2024-06-051-0/+0
| | | | To avoid conflict with https://hackage.haskell.org/package/pager
* getWorkspaces: admit _NET_WM_STATEtv2024-04-231-1/+8
|
* move moveWindowToDesktop to Graphics.X11.EWMHtv2023-02-071-16/+5
|
* move switchToDesktop to Graphics.X11.EWMHtv2023-02-072-19/+28
|
* add `desktops` utilitytv2023-02-072-0/+70
|
* lib: Text -> Stringtv2023-02-071-2/+2
| | | | Because everything in Graphics.X11 is String, too.
* move EWMH-related stuff to Graphics.X11.EWMHtv2023-02-071-38/+6
|
* move Graphics.* & co. to libtv2023-02-077-106/+0
|
* move atoms to Graphics.X11.Xlib.Atom.Extratv2023-02-075-63/+82
|
* getDesktopNames: take all desktops into accounttv2022-10-181-1/+1
|
* query term size before start scanningtv2022-05-171-2/+2
| | | | | | This works around an issue causing the pager to hang when there is input before the terminal size could be determined. The root cause has yet to be found.
* boomtv2022-04-0514-6/+1175
|
* Pager.Types: inittv2021-02-281-0/+32