-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.txt
151 lines (121 loc) · 6.17 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
Panes
====
x add frontmost window to set
x bring all windows in set frontmost
x make it a set
x remove window from set
x show/fade set indicators
x if one of the windows in the set is currently frontmost, don't fux with that.
x-for now- looks like raise often doesn't do the thing? I have to hit it twice to get it on top... focus first helped.
x break it out of the main config file. (spoon?)
x break out widowset into its own file
x visual indication of saving a window
* button to cycle through windows (send to back :/)
* key to bring set forward
* key again to send to back of set
* monitor switch apps and switch windows to reset
* only cycle if all windows are already raised to be right next to the focused window and the focused window is one of us.
* This sucks. Send to back SUCKS
* jumpy
* cross apps changes the order (raise comes in front/behind where it should.)
* instead we need a cycle...
* hit raise
* we do the bullshit to get everything frontmost. (in the current z order?)
* then we just start cycling?
* if you click on a thing, it jumps to the front of the cycle?
* reset the cycle order if you click on a window?
* that's the most annoying part!
* but its the only option
* am I going to want shift click as well?, probs for reverse.
* hit raise again
* is there another way?
* you hit bring forward, enter a mode
* you leave the mode if:
* alt tab to another app
* cmd ~ to another window (not in the WS? not the next in the WS?
* in order to faithfully maintain the z order, it's probably best to do the event tapstuff, but i'll start with the slow version.
x button to clear the current set.
* use a layout?
* setting up the event tap might be taking a minute the first time?? BUG
* how do we add a window?
* do a highlight fade when a window is added as a visual feedback that something happened
* multiple window sets?
* what happens if you close a window?
* prob need to watch for that.
* might want to update the list every time you focus a window.
* if the app is hidden it doesn't raise it, have to hit the button twice.
* should a window set use a window filter as a storage method?
* annoying when in a set for other stuff to jump in. Might want to always bring them front as a group until the spell is broken?
* when focusing a window in the set, always bring up the other windows in the set.
TESTING
* can mock HS and Window fairly well
* probably go for it and actually try that and see how it is
* Can't call hs from the test itslef, it seems, so has to be triggered by hs itself
* real testing would create windows and move them around
* probably want this too? but it's much more invasive, slower loop.
* make hilights work across displays!
* write these functions so that they operate on a set, should carry over to multiple sets.
* One windowset is "active" at a time
* this lets you bring it frontmost with a click (might be the same number based click that activated it)
* lets you cycle through those windows
* could jsut use current z order for focus.
* some sort of permament hilight is drawn in the window's menubar? or somethign.
* could this swap out windows in a full screen thing?
* doesn't look like it, rn.
A window manager for os x
window pain
window pains
panes
pane
frame
sill
Mullion
Grilles
muntins -- this is the divider beween window panes
window sash
https://www.renewalbyandersen.com/homeowner-help/glossary
UI
--
* could have a separate menu bar thing for each set
* New set button
* https://koekeishiya.github.io/chunkwm/
* probably the best thing is to learn ameythist first
* it has most of what i want i think, but is so un-mac-like
* what if I had an app that was just a container for other apps. It showed up in cmd-tab but was a container that had three or four windows in it?
* what I like about amythist is that you can move things around in a pattern
* being able to designate a set of intereseting windows (terminal, sublime, browser) and then have them all where i want them is a lot ofit.
* bind windows together, so that when one is brought to top, the other is brought to top-1
* two (maybe three? but two almost always...) slots that are re-sizeable, and each on is a tab bar with cmd MRU at least to cycle through other windows.
* ugh, why is nothing good.
* oh god, i want my spaces to have spaces. I want app-tabs and to be able to keep one on one side and switch between two on the other?
* or i want window views. where the same window can be in two spaces.
OK I want to make windowsets.
you can probably pin the to top
Actions (key combos?)
* new windowset
* add window to windowset N
* frontmost?
* next window you click on, with highlighting following mouse?
* press, highlight with mouse, release?
* remove window from windowset N
* arrange windows in windowset N
* triiiicky. nothing will be as nice as sliding two windows in full screen, but something like it
* tile other windows other than the one you just touched? other than frontmost?
* swap window in windowset?
* clone windowset
* switch focus w/in the set. crucial.
* if a set is pinned, you could hijack cmd-tab?
* pin to top -- really? for a single window could be nice, still use the other space. could be clunky.
use highlighting to indicate which windows are a thing, maybe color to indicate set?
I think v1 is just making a set and thing bringing it frontmost when you do the thing
can watch windows for changes. keep track of which one was last frontmost...
Write a test that just loads some window groups on reload.
HA this might be the same thing
_ https://github.com/selectnull/hammerspoon-alttab
HS TOOLS
https://www.hammerspoon.org/docs/hs.expose.html lets you show thumbnails of windows and pick them easily
https://www.hammerspoon.org/docs/hs.layout.html
https://www.hammerspoon.org/docs/hs.menubar.html
https://www.hammerspoon.org/docs/hs.settings.html
https://github.com/miromannino/miro-windows-manager
* maybe use this to turn off bluetooth on sleep https://gist.github.com/ysimonson/fea48ee8a68ed2cbac12473e87134f58