Ole Jørgen Brønner
bb3afeae78
notes maintance
2017-09-12 13:00:32 +02:00
Tor Hedin Brønner
9943b02e10
Add center functionality
...
Set `zen` to true to push all windows to the sides.
2017-09-12 12:41:33 +02:00
Tor Hedin Brønner
55c2c89a35
Fix stack level regression
...
Shouldn't lower the window which is brought into view.
2017-09-11 21:41:51 +02:00
Tor Hedin Brønner
1a32295aca
Fix typo: move_right -> move_left
2017-09-11 21:39:32 +02:00
Tor Hedin Brønner
402147fa7a
Fix broken startup
...
The workspace init loop doesn't like that workspaces aren't fully initialized
when running add_all_from_workspaces(workspace). (not sure why, since we really
should only be referencing workspaces[workspace.workspace_index] which is
initialized above the call.
2017-09-11 20:45:31 +02:00
Ole Jørgen Brønner
067f911927
ADHOC: Change default schema location
2017-09-11 20:23:39 +02:00
Ole Jørgen Brønner
cf433f9210
Actions: move_left/right (<meta><shift>,/.)
...
Moves the focused window left/right in the tiling
2017-09-11 20:21:42 +02:00
Tor Hedin Brønner
61a33ad3bf
Control the left and right edge of windows better
...
Anchor scaling/animation on the left edge for windows positioned to the right,
and on the right edge for windows positioned to the left.
2017-09-11 20:21:18 +02:00
Tor Hedin Brønner
aee6adfbb6
Convenience: run add_all_from_workspace on startup
2017-09-11 19:10:38 +02:00
Tor Hedin Brønner
fbb24ef75a
Crash on fast close window/open window
2017-09-11 18:58:59 +02:00
Tor Hedin Brønner
e1ad802040
Better new window animation
...
Move the window immediately to the correct position and adjust with
ensure_in_viewport.
2017-09-11 18:29:00 +02:00
Tor Hedin Brønner
a335f49286
Bind <super>space to activities overview
2017-09-11 18:21:05 +02:00
Tor Hedin Brønner
97fa1d4aee
Bind cycle-window to super too
2017-09-11 18:05:38 +02:00
Ole Jørgen Brønner
e600299a9d
Custom schema (let us create new keybindings/actions)
...
The path to the schema dir have to be set adhoc until we create a proper
extension.
2017-09-11 18:02:55 +02:00
Tor Hedin Brønner
772773c027
Focus window to the left when closing window
2017-09-11 17:15:52 +02:00
Tor Hedin Brønner
28b9b87408
Always propogate window changes
2017-09-11 15:31:00 +02:00
Tor Hedin Brønner
9a1efc1c13
Don't break when there's no focus_window
...
Sometimes when running apps from activities, and always for the first added
window on a workspace
2017-09-11 12:59:04 +02:00
Tor Hedin Brønner
c3be4b3a97
Bug
2017-09-11 01:36:38 +02:00
Tor Hedin Brønner
52efb8bb38
Add a little debug script which uses journalctl
...
Inserts a new line and two spaces after the journal stamp for readability
2017-09-11 01:34:42 +02:00
Tor Hedin Brønner
39f15cbcce
Fix: scaling issue using set_pivot_point
...
`scale_center` is deprecrated, new windows gets 0.5, 1 as pivot point to scale
around, which doesn't mix well with scaling_center.
2017-09-11 00:38:04 +02:00
Tor Hedin Brønner
77038a1029
Some notes on moving
2017-09-10 23:39:47 +02:00
Tor Hedin Brønner
6623a44f37
Add rudimentary support for multiple workspaces
2017-09-10 21:05:45 +02:00
Tor Hedin Brønner
bf3a9048d1
Use 250ms easeInOutQuad for animations
2017-09-10 20:01:05 +02:00
Tor Hedin Brønner
035bd01f21
Use linear transition, looks better for now
2017-09-10 18:00:00 +02:00
Tor Hedin Brønner
068a2e75b3
Add close window binding
2017-09-10 17:58:40 +02:00
Tor Hedin Brønner
42d272bea1
Only add 'normal' windews to the scroll strip
2017-09-10 17:06:59 +02:00
Tor Hedin Brønner
e3cb8df39a
bug: detect transient windows
2017-09-10 14:10:44 +02:00
Tor Hedin Brønner
7309d7454e
Add somewhat proper statusbar height detection
2017-09-09 22:11:10 +02:00
Tor Hedin Brønner
24aeb93462
Some TODOs and stuff
2017-09-09 22:09:44 +02:00
Ole Jørgen Brønner
8132cd7d96
Set initial position in focus handler:
...
Position changes from `window-added` handler seems to be overwritten/ignored.
+ some animation changes
2017-09-09 18:53:51 +02:00
Ole Jørgen Brønner
86dccdbfc0
focus is no longer an index
2017-09-09 16:56:24 +02:00
Tor Hedin Brønner
e89e60c6b8
Add some missing globals
2017-09-09 16:38:21 +02:00
Tor Hedin Brønner
ecc6262826
Refactor focus to focus()
2017-09-09 16:19:44 +02:00
Tor Hedin Brønner
783df4e037
Don't remove negative indexes
2017-09-09 16:16:56 +02:00
Ole Jørgen Brønner
9346d52826
Some debugging code related to controlling position of new windows
2017-09-09 02:41:05 +02:00
Ole Jørgen Brønner
2524b3aa5c
Add notes.org for collectiong misc documentation and findings
2017-09-09 01:51:24 +02:00
Ole Jørgen Brønner
9c9c0a29f0
More robust "window-removed" handler:
...
See comments in remove_handler for details.
+ Simple log utility
+ Signal handler wrapper utility (lookup handler by name)
2017-09-09 01:46:06 +02:00
Ole Jørgen Brønner
c731ad2a19
add_all_from_workspace: add all windows in a workspace to the tiling
2017-09-09 00:40:19 +02:00
Tor Hedin Brønner
9ae9721775
Add basic keybindings
2017-09-08 17:07:53 +02:00
Tor Hedin Brønner
7716e6f742
Propogate when a window is outside the margins too
2017-09-08 16:44:36 +02:00
Tor Hedin Brønner
aa076591b2
Clean up workspace init
2017-09-08 16:40:38 +02:00
Tor Hedin Brønner
55589cd291
Add scaling to windows stacked to the sides
2017-09-08 16:38:22 +02:00
Tor Hedin Brønner
3f4d5ca3b4
Delete some repl stuff
2017-09-08 13:32:14 +02:00
Tor Hedin Brønner
d6d0c20772
Add hardcoded margin to avoid "backsnap"
...
It seems that windows get snapped back with a margin of 75.
2017-09-08 13:24:10 +02:00
Tor Hedin Brønner
cc979ca914
Ensure proper stacking
...
(should probably only lower windows that are stacked to sides)
2017-09-08 13:16:23 +02:00
Tor Hedin Brønner
3585924e2f
Move globals to the top
2017-09-08 13:15:49 +02:00
Tor Hedin Brønner
044103f262
Add repl
2017-09-08 13:15:15 +02:00
Tor Hedin Brønner
af84f1e0bd
Only use margin if there's windows to the left/right
2017-09-06 23:32:59 +02:00
Tor Hedin Brønner
d10a1a09a9
Use more reasonable animation time
2017-09-06 23:29:24 +02:00
Tor Hedin Brønner
3bd4eb2ae4
Use larger sideoverlap
...
Need something like 20 pixels to click on the stacked windows to the side due to
the large resize zone of many gtk windows
2017-09-06 23:28:03 +02:00