devilspie(1)

πŸ“¦
version 0.23 Β· 2 versions
  • 0.23 Β· debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing (latest)
  • 0.23 Β· arch rolling
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing

πŸ’– devilspie(1) πŸ’–

okay bestie, welcome to the General Commands Manual section for devilspie, and no cap, this one is a whole vibe πŸ¦‹

✨ NAME ✨

devilspie β€” do lil actions on windows the second they get created πŸ’…


✨ SYNOPSIS ✨

devilspie [OPTION]... configuration-files...

🌸 DESCRIPTION 🌸

so devilspie is this program that literally watches windows being born πŸ‘Άβœ¨ β€” the moment one gets created, it peeks at it, and if the window matches a set of criteria you set up, it does stuff to it. main character energy, honestly.

the configuration files are a set of s-expressions, iykyk. for documentation and examples, go look at /usr/share/doc/devilspie/.

command-line options, let's go:

  • -a, --apply-to-existing β€” applies to all the windows that already exist, not just the new babies. 🍼
  • -d, --debug β€” spills the debug info everywhere. πŸ’€

πŸŽ€ ALLOWED SYMBOLS πŸŽ€

in your input files, these are the symbols devilspie actually knows and fw:

  • is β€” string equality, (is a b) means a is the same as b. simple as that. ✨
  • contains β€” substring check, (contains haystack needle) means haystack contains needle. πŸ”
  • matches β€” regexp matches, (matches str pattern) means the regexp pattern matches str. πŸ‘‘
  • window_name β€” returns the title of the current window (String). 🏷️
  • window_role β€” returns the role of the current window, as determined by the WM_WINDOW_ROLE hint (String).
  • window_class β€” returns the class of the current window (String). πŸŽ€
  • window_xid β€” returns the X11 window id of the current window (Integer).
  • application_name β€” returns the application name of the current window, as determined by libwnck (String).
  • window_property β€” returns the given property of the window, like, pass it "_NET_WM_STATE" and you get that back (String). πŸ’–
  • window_workspace β€” returns the workspace a window is on (Integer).
  • debug β€” debugging function, outputs the current window's title, name, role and geometry (Returns TRUE).
  • print β€” print args, no trailing 0, returns boolean. πŸ–¨οΈ
  • println β€” print args, with trailing 0, returns boolean.
  • str β€” transform parameters into strings and concat them. 🧡
  • hex β€” transform the integer parameter into an unsigned hexadecimal string, with the 0x prefix.
  • geometry β€” set position + size (as tring) of current window (returns boolean).
  • fullscreen β€” make the current window fullscreen (returns TRUE). 🌈
  • focus β€” focus the current window (returns TRUE). πŸ‘€
  • center β€” center position of current window (returns boolean).
  • maximize β€” maximise the current window (returns TRUE). πŸ”₯
  • maximize_vertically β€” maximise vertically the current window (returns TRUE).
  • maximize_horizontally β€” maximise horizontally the current window (returns TRUE).
  • unmaximize β€” un-maximise the current window (returns TRUE).
  • minimize β€” minimise the current window (returns TRUE). πŸ™ˆ
  • unminimize β€” un-minimise the current window (returns TRUE).
  • shade β€” shade ("roll up") the current window (returns TRUE).
  • unshade β€” un-shade ("roll down") the current window (returns TRUE).
  • close β€” close the current window (returns TRUE). bye bestie πŸ’€
  • pin β€” pin the current window to all workspaces (returns TRUE). πŸ“Œ
  • unpin β€” unpin the current window from all workspaces (returns TRUE).
  • stick β€” make the current window stick to all viewports (returns TRUE).
  • unstick β€” unstick the window from viewports (returns TRUE).
  • set_workspace β€” move the window to a specific workspace number, counting from 1 (returns boolean).
  • set_viewport β€” move the window to a specific viewport number, counting from 1 (returns boolean).
  • skip_pager β€” remove the current window from the window list (returns TRUE).
  • skip_tasklist β€” remove the current window from the pager (returns TRUE).
  • above β€” set the current window to be above all normal windows (returns TRUE). ⬆️
  • below β€” set the current window to be below all normal windows (returns TRUE). ⬇️
  • decorate β€” add the window manager decorations to the current window (returns boolean).
  • undecorate β€” remove the window manager decorations from the current window (returns boolean).
  • wintype β€” set the window type of the current window (returns boolean). the accepted values are: normal, dialog, menu, toolbar, splashscreen, utility, dock, desktop. ✨
  • opacity β€” change the opacity level of the current window, as an integer in 0..100 (returns boolean). πŸ«₯
  • spawn_async β€” execute a command in the background (returns boolean). the command is given as a single string, or as a series of strings, similar to execl. πŸš€
  • spawn_sync β€” execute a command in the foreground (returns command output as string, or FALSE on error). the command is given as a single string, or as a series of strings, similar to execl.

πŸ’€ BUGS πŸ’€

ngl, this manpage is almost useless, because it was thrown together on a train. not me exposing the whole origin story πŸ˜­πŸš‚


πŸ’œ AUTHOR πŸ’œ

this manual page was written by Ross Burton <ross@burtonini.com>.


and that's the whole thing, bestie β€” you made it to the end of devilspie(1), so go forth and un-maximise something πŸŽ€βœ¨

πŸ“¦ where this page comes from