SUBTLER(1)
π SUBTLER π
okay bestie, gather round, because this is subtler β a commandline interface for subtle. yes THE subtle. no cap. π
β¨ SYNOPSIS β¨
subtler [GENERIC|MODIFIER] GROUP ACTION [ARG1] [ARG2]
πΈ DESCRIPTION πΈ
so subtler is a commandline tool that lets you interact with an EWMH/NetWM compatible window manager β and especially with subtle(1) β straight from your shell. it's giving terminal-to-window-manager bestie energy fr fr π¦
the arguments of subtler are quite complex and allow a variety of spellings and different numbers of arguments. most of the commands require at least one argument and return output of following format:
π«Ά FORMAT π«Ά
π₯ INPUT
DISPLAY:<display number>ID<number>GEOMETRY<x>x<y>+<width>+<height>NAME<string|number>DATA<string|number>PATTERNmatching works either via plaintext,regex(7), id or window id if applicable. if a pattern matches more than once ALL matches are used. periodt π
if the PATTERN is - subtler will read from stdin.
π€ OUTPUT
- Client listing <window id> <visibility> <view id> <geometry> <gravity> <flags> <instance name> (<class name>)
- Gravity listing <gravity id> <geometry>
- Screen listing <screen id> <geometry>
- Tag listing <tag name>
- Tray listing <window id> <instance name> (<class name>)
- View listing <window id> <visibility> <view id> <view name>
π FIELDS π
<window id>β Numeric (hex) id (e.g.0xa00009)<visibility>β-= not visible,*= visible<view id>β Numeric id (e.g.5)<geometry>βx x y + width + height<flags>β-= not set,+= fullscreen,^= float,*= stick,~= resize,== zaphod,!= fixed<instance name>β Window instance/resource name<class name>β Window class name<gravity id>β Numeric id of gravity (e.g.2)<screen id>β Numeric id of a screen (e.g.1)<tag name>β Name of a tag (e.g.terms)
π OPTIONS π
π GENERIC
-d,--display=DISPLAYβ Connect toDISPLAY(default::0)-h,--helpβ Show this help and exit-V,--versionβ Show version info and exit-p,--procβ This creates a ruby proc from the given argument and yields the result of the group to it as parameterparam.
Examples:
subtler -cl -p "puts param.name"
subtler -cC -p "param.gravity = { terms: :left }"
π« MODIFIER
-r,--reloadβ Reload subtle-R,--restartβ Restart subtle-q,--quitβ Quit subtle-C,--currentβ Select current active window/view instead of passing it via argument.
Example: subtler -cCf
-X,--selectβ Select a window via pointer instead of passing it via argument.
Example: subtler -cXf
π GROUPS
-c,--Clientβ Use client group-g,--Gravityβ Use gravity group-e,--Screenβ Use screen group-s,--Subletβ Use sublet group-t,--Tagβ Use tag group-y,--Trayβ Use tray group-v,--Viewβ Use views group
πͺ ACTIONS FOR CLIENTS
-f,--find=> PATTERN β Find client
Example: subtler -cf urxvt
-o,--focus=> PATTERN β Set focus to client
Example: subtler -co urxvt
-F,--full=> PATTERN β Toggle full
Example: subtler -cF urxvt
-O,--float=> PATTERN β Toggle float
Example: subtler -cO urxvt
-S,--stick=> PATTERN β Toggle stick
Example: subtler -cS urxvt
-N,--urgent=> PATTERN β Toggle urgent
Example: subtler -cN urxvt
-l,--listβ List all clients-T,--tag=> PATTERN β Add tag to client
Example: subtler -cT urxvt tag
-U,--untag=> PATTERN NAME β Remove tag from client
Example: subtler -cU urxvt tag
-G,--tags=> PATTERN β Show client tags
Example: subtler -cG urxvt
-Y,--gravity=> PATTERN PATTERN β Set client gravity
Example: subtler -cY urxvt gravity
-E,--raise=> PATTERN β Raise client window
Example: subtler -cE urxvt
-L,--lower=> PATTERN β Lower client window
Example: subtler -cL urxvt
-k,--kill=> PATTERN β Kill client
Example: subtler -ck urxvt
π§² ACTIONS FOR GRAVITIES
-a,--add=> NAME GEOMETRY β Create new gravity
Example: subtler -ga test 0x0+100+100
-l,--listβ List all gravities
Example: subtler -gl
-f,--find=> PATTERN β Find a gravity
Example: subtler -gf center
-k,--kill=> PATTERN β Kill gravity
Example: subtler -gk center
π₯οΈ ACTIONS FOR SCREENS
-l,--listβ List all screens
Example: subtler -el
-f,--find=> ID β Find a screen
Example: subtler -ef 0
π§© ACTIONS FOR SUBLETS
-l,--listβ List all sublets
Example: subtler -sl
-f,--find=> PATTERN β Find sublet
Example: subtler -sf sublet
-u,--updateβ Updates value of sublet
Example: subtler -su
-D,--data=> PATTERN DATA β Send data to sublet
Example: subtler -sD sublet something
-k,--kill=> PATTERN β Kill sublet
Example: subtler -sk PATTERN
π·οΈ ACTIONS FOR TAGS
-a,--add=> NAME β Create new tag
Example: subtler -ta tag
-f,--find=> PATTERN β Find all clients/views by tag
Example: subtler -ta tag
-l,--listβ List all tags
Example: subtler -tl
-I,--clientsβ Show clients with tag
Example: subtler -tI
-k,--kill=> PATTERN β Kill tag
Example: subtler -tk PATTERN
π ACTIONS FOR TRAYS
-f,--find=> PATTERN β Find a tray
Example: subtler -yf PATTERN
-l,--listβ List all trays
Example: subtler -yl
-k,--kill=> PATTERN β Kill tray
Example: subtler -yk PATTERN
π ACTIONS FOR VIEWS
-a,--add=> NAME β Create new view
Example: subtler -va NAME
-f,--find=> PATTERN β Find a view
Example: subtler -vf PATTERN
-l,--listβ List all views
Example: subtler -vl
-T,--tag=> PATTERN NAME β Add tag to view
Example: subtler -vT terms tag
-U,--untag=> PATTERN NAME β Remove tag from view
Example: subtler -vT terms tag
-G,--tagsβ Show view tags
Example: subtler -vG terms
-I,--clientsβ Show clients on view
Example: subtler -vI terms
-k,--kill=> PATTERN β Kill view
Example: subtler -vk terms
π BUGS π
Report bugs at http://subforge.org/projects/subtle/issues Homepage: http://subtle.subforge.org
π COPYRIGHT π
Copyright (c) Christoph Kappel <unexist@subforge.org>
π SEE ALSO π
subtle(1), subtlext(1), sur(1), surserver(1)
and that's the whole page bestie, mwah π this lil gem is from November 2011 β SUBTLER(1) β go forth and wrangle some windows, you absolute icon π«Άβ¨
π¦ where this page comes from
- debian bookworm: subtle 0.11.3224-xi-2.2+b8 Β· GPL-2.0-only
- ubuntu jammy: subtle 0.11.3224-xi-2.2build4 Β· GPL-2.0-only
- ubuntu noble: subtle 0.11.3224-xi-2.2ubuntu1 Β· GPL-2.0-only
- ubuntu questing: subtle 0.11.3224-xi-2.3
- ubuntu resolute: subtle 0.11.3224-xi-3 Β· GPL-2.0-only
- ubuntu stonking: subtle 0.11.3224-xi-4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms