Skip to content

Conversation

@imprisonedmind
Copy link

Summary

Introduce a gnome-window-manager Backslash plugin that offers fast tiling, sizing, and focus management commands for GNOME/X11 desktops.

Motivation

Deliver native-feeling window management shortcuts inside Backslash so users can tile, center, minimize, and toggle fullscreen without leaving the launcher. The goal is to mirror the polished window management workflow that Raycast offers on macOS for GNOME users on Linux.

Changes

  • add the gnome-window-manager manifest registering nine window actions (toggle fullscreen, almost maximize/minimize, halves, center, minimize, hide others, quit all).
  • implement each command with shared helpers for selecting target windows, adjusting geometry.
  • introduce gnome-window-manager/utils.js covering dependency checks (wmctrl, xdotool, xprop, xrandr), window state helpers, and geometry calculations to keep individual commands concise.
  • ensure every command clears the search UI on success and raises descriptive errors while still toasting failures to the user. Requires backslash-app/backslash#48

Dependencies

  • wmctrl (e.g., sudo apt install wmctrl)
  • xdotool (e.g., sudo apt install xdotool)
  • xprop (e.g., sudo apt install x11-utils)
  • xrandr (e.g., sudo apt install x11-xserver-utils)

Demo

Watch the demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant