Commit Graph

22 Commits

Author SHA1 Message Date
Ole Jørgen Brønner
d2887263a2 examples/keybindings: tile into left/right column
Takes the selected window and tile it into the left/right neighbour column.
2019-10-31 20:08:03 +01:00
Tor Hedin Brønner
4cfe445477 tiling: Move cycle to Tiling.cycleWorkspaceSettings 2019-10-21 12:47:39 +02:00
Ole Jørgen Brønner
60a5a95277 examples/keybindings: adjust width (<Super>plus/minus) 2019-10-10 22:14:43 +02:00
Tor Hedin Brønner
3b6d9309cc examples/keybindings: moveSpaceToMonitor fixup
No idea why this is necessary, but I sometimes get bugged focus and topbar
without it.
2019-10-10 21:33:38 +02:00
Tor Hedin Brønner
fd605e425b examples/keybindings: add moveSpaceToMonitor binding 2019-10-10 19:58:21 +02:00
Ole Jørgen Brønner
024e8bb705 examples: keybinding for cycling workspace settings (among "unbound" and current)
Only relevant when using dynamic workspace. Typically used to change the empty
workspace settings to the one you want.
2019-09-29 23:18:30 +02:00
Rasmus Eneman
f949799c37 Fix crash under Gnome 3.34 2019-08-30 08:16:23 +02:00
Ole Jørgen Brønner
ae8e91093b Show a warning notification when failing to bind a key (user.js) 2019-07-02 21:49:20 +02:00
Tor Hedin Brønner
a5f0eefa4b keybind examples: support specifying keyboard combo 2019-07-01 22:17:09 +02:00
Ole Jørgen Brønner
9a6cf9dba3 examples: don't use global.screen
screen is removed in gnome 3.3x
2019-06-29 12:20:53 +02:00
Ole Jørgen Brønner
f5bf26cbde examples: usage instructions 2019-06-29 12:18:26 +02:00
Ole Jørgen Brønner
ce68de1125 examples: cycle focused monitor action 2019-06-29 12:17:40 +02:00
Julia Evans
7eb0bc1322 Fix typo in keybindings example
I tried using this and got an error because `i` should be `k`, with this change it works for me.
2019-06-23 01:09:56 +02:00
Ole Jørgen Brønner
d5a7c81895 keybindings: cycle window height <super><shift>r 2019-01-05 12:52:52 +01:00
Ole Jørgen Brønner
e4916a434b examples/keybindings.js: cycle-height 2019-01-05 11:14:39 +01:00
Ole Jørgen Brønner
80256f2215 examples/keybindings.js: window marks update
Goto mark when the it's already focused now selects previous (mru) window.

Quite common to just quickly check a marked window - more convenient to repeat
the binding instead of using super-tab.
2018-12-23 16:44:18 +01:00
Ole Jørgen Brønner
43974ba50c Minor fixes keybinding system
- rebinding a schemaless binding lost it's implied options
- fix showNavigator example
- wrong documentaion in README
2018-12-09 14:53:53 +01:00
Ole Jørgen Brønner
71b6ee8f56 Unify regular keybinding api an schemaless keybinding api
Try to make it a bit more "action oriented":

  An action exists independently of its binding. It could conceivable be invoked
  by other means too.

Some weirdness from the marriage remain to weed out, but this is a working
stepping stone.
2018-07-06 12:16:37 +02:00
Ole Jørgen Brønner
e8e01dfbf7 more examples 2018-07-06 12:16:37 +02:00
Ole Jørgen Brønner
8bbb0cc23d examples: make marks work when navigator is open 2018-07-06 12:16:37 +02:00
Ole Jørgen Brønner
f9fd005fa5 Utility function for checking if a key-combo is bound 2018-07-06 12:16:37 +02:00
Ole Jørgen Brønner
5bce8922c1 API for ad-hoc/schemaless/user keybindings 2018-07-06 12:16:37 +02:00