mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-09 16:41:51 -07:00
Colors taken from dwm's config.default.h and hard-coded in Operations instead of Config because of import cycle. Windows overlap slightly in the current tiling algorithm and sometimes prevent the active window from being completely surrounded by a red border.
29 lines
1022 B
Plaintext
29 lines
1022 B
Plaintext
- tasks before 0.1:
|
|
- Code clean up after tiling and StackSet changes
|
|
- Make sure the quickchecks make sense with the new StackSet
|
|
|
|
- think about the statusbar/multithreading.
|
|
Three shared TVars:
|
|
windowTitle :: TVar String
|
|
workspace :: TVar Int
|
|
statusText :: TVar String
|
|
Three threads:
|
|
Main thread, handles all of the events that it handles now. When
|
|
necessary, it writes to workspace or windowTitle
|
|
|
|
Status IO thread, the algorithm is something like this:
|
|
forever $ do
|
|
s <- getLine
|
|
atomic (writeTVar statusText s)
|
|
|
|
Statusbar drawing thread, waits for changes in all three TVars, and
|
|
redraws whenever it finds a change.
|
|
|
|
- tiling:
|
|
- Layout calculation: the current algorithm is crude, windows overlap
|
|
- make focus remain between workspace switches
|
|
- change focus in the StackSet structure on EnterNotify
|
|
- let mod+enter demote a master window
|
|
|
|
* Tile vertically/ resize height.
|