wlogout(5)
π wlogout(5) β the layout file & options glow-up π
okay bestie, so wlogout is the little logout menu situation, and this here is the File Formats Manual page for it. it's giving "here's how you tell me what buttons to draw". lowkey iconic, highkey important. let's go π«Ά
πΈ NAME πΈ
wlogout β the layout file and its options. yes, that's the whole vibe. the file you write that decides which buttons show up and what they do when you click them π
β¨ LAYOUT β¨
so your wlogout buttons can consist of up to six values. here's the lineup:
labelactiontextkeybindheight*width*circular*
* = optional values, bestie. the little asterisk means you don't have to include them π
and now the deets on each one, no gatekeeping:
labelβ this is the css selector that the buttons get referred to by inside astyle.cssfile. it's basically the button's government name so your stylesheet can find it πactionβ the shell command that gets executed when the button is clicked. that's the whole point, the main character moment π₯textβ the description that gets displayed on the button. what your eyeballs see πkeybindβ the key mapped to that button. quick lil note though:escapeis reserved for exiting the application, so don't try to fight it for that key, bestie πheightandwidthβ values between0.0and1.0. they control the location of where the text is displayed. the defaults are: width0.5, height0.9βcircularβ a boolean value that makes a button round. yes. round. a circle. beautiful. π¦
π§ FILE π§
the buttons' values live in a JSON formatted file, where the values are used as keys β and one button corresponds to one JSON object. one button = one object. periodt.
for example:
{
"label" : "foo",
"action" : "echo 'hello world'",
"text" : "bar",
"keybind" : "f",
"height" : 1,
"width" : 1,
"circular" : true
}
so that lil guy up there? it would create a round button that:
- has a css label of
foo - prints
"hello world"upon being clicked - displays
"bar"on the button - is bound to the key
'f' - and
"bar"would be shown at the bottom right corner π (yes, height1and width1does that, that's the whole point of those numbers)
and to create multiple buttons? simply create another JSON object. that's it. slay. stack 'em like bracelets πΈ
π AUTHORS π
maintained by Haden Collins <collinshaden@gmail.com> β and for more information about wlogout, see <https://github.com/ArtsyMacaw/wlogout>. give him a follow, he's carrying this whole thing fr fr π«Ά
π SEE ALSO π
kisses, bestie β this page came straight out of the File Formats Manual, dated 2026-01-29, and that's your cue to go write a layout file that ate π
β¨
π¦ where this page comes from
- ubuntu resolute: wlogout 1.2.2-1build1 Β· MIT
- ubuntu stonking: wlogout 1.2.2-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms