Skip to content

u/unexist

In this archive from Dec 2010 to Aug 2015

0
posts
21
comments
0
media
46
score

It's called gravities, because the positions are calculated from the center of the screen. E.g. 0, 0, 50, 50 is a centered window with half of the width and height. To avoid overlapping was never intended and actually I like it as is.

The main advantage of the whole thing is, you can place windows from your config and don't have to rely on some odd layout algorithm. There are so many different layouts, xmonad-contrib contains more than 80 different and I would say this is proven to be ineffective.

I have written a sublet (http://subforge.org/projects/subtle/wiki/Sublets) that provides some layouts but still I don't understand why anyone needs that.

2 points

The purpose is, that you can set your perfect placement of a window via config, without choosing one of the trillion layout patches/layouts and trying to move your windows inside of it everytime you start your wm. Moving windows via gravities is a side effect of this, you can quickly move windows around to defined positions or e.g. use the gravity to focus a window, or or or.

1 points

True, I never tried to avoid the fact that I need a scripting language inside of subtle. I just built a DSL around the common stuff, so that the config is easier than real programming with plain Ruby. When you need advanced stuff like messing with hooks etc. you can use all the power Ruby has to offer and interact with a powerful Ruby extension.

3 points

I think it is, because the repo contains a range of things starting with a clock to any notifier you can imagine. You don't have to use odd format strings and scripts like the ones for dzen and you don't even need another program/process/thread.

I can't say something about xmobar, because I just can't stand haskell.

3 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.