GOBBLE(1)

πŸ“¦ version 1.3, in nixos 26.05, nixpkgs unstable

πŸ¦‹ gobble(1) Β· General Commands Manual Β· hide your current window while using an external program πŸ¦‹

okay bestie, this is the manual for gobble, and it is literally the β€œhide my window while I run a thing” icon. no cap.


πŸŽ€ NAME πŸŽ€

gobble β€” hide your current window while using an external program


✨ SYNOPSIS ✨

gobble [OPTIONS] CMD ...

πŸ’– DESCRIPTION πŸ’–

okay so gobble uses libxcb to find the currently focused window, then unmaps it. whatever arguments (other than flags) are passed to it will be interpreted as a command & its arguments and will execute it. when that finishes (or fails), the original window will be remapped. fr fr, that’s the whole vibe.


πŸ’… OPTIONS πŸ’…

  • -h β€” Displays a friendly help message.
  • -v β€” Displays the software version.
  • -o β€” Uses overlap mode which overlays the new window ontop of the old one instead of unmapping it (useful in floating window managers).

🌈 EXAMPLES 🌈

  • gobble mpv test.mp4 β€” Hides the terminal and opens test.mp4 in mpv (video player program).
  • gobble -o mpv test.mp4 β€” Opens test.mp4 in mpv and positions it ontop of the terminal.
  • gobble -v β€” Displays the software version and exits.
  • gobble -h β€” Displays the friendly help message and exits.

⭐ EXIT VALUES ⭐

Gobble will exit with whatever code the passed command exited with, or if nothing is passed then 0. periodt.


πŸ’€ ISSUES πŸ’€

Only works when using the X11 display server.
Programs that fork immediately (for example as part of a daemon) don’t behave right with gobble.

Copyright Β© 2021-2023 Sebastien MacDougall-Landry. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.


🫢 AUTHORS 🫢

Sebastien MacDougall-Landry.


πŸ’– sign-off: gobble 1.3 Β· August 2023 Β· byeeee bestie πŸ’–

πŸ“¦ where this page comes from