Commit Graph

62 Commits

Author SHA1 Message Date
Pacman99
8efe979128
Add option to disable showing scratch windows in overview. (#346)
Creates dropdown menu to let user choose between never, always, or
only showing scratch windows. The state is tracked by two
booleans,'disable-scratch-in-overview' and 'only-scratch-in-overview'.
2020-10-29 20:30:58 +01:00
Yegor Timoshenko
5de1be9c8a
gnome shell background -> GNOME Shell background (#264) 2020-03-11 23:44:53 +01:00
konni
616d7712fa
add resize functions to inc/dec height/width (#255) 2020-02-25 16:55:52 +01:00
Tor Hedin Brønner
ecd355115c top bar: Add only show on primary preference
Introduces `TopBar.panelMonitor` which points to the monitor currently
holding the top bar.
2020-02-23 14:51:08 +01:00
Romanos
e629cde2cc schemas: fix typo (#236) 2020-01-27 15:55:16 +01:00
Tor Hedin Brønner
fb7b8aac4c window-gap: default to 20px 2019-12-22 19:03:18 +01:00
goodwillcoding
5d148a3f6a Spaces: add sequential navigation of spaces 2019-11-12 14:19:30 +01:00
Tor Hedin Brønner
9d90930165 settings: add per workspace directory key 2019-10-18 19:21:45 +02:00
Tor Hedin Brønner
dd9b577e29 settings: Add use-default-background preference
Does not support timed backgrounds.

fixes #122
2019-10-10 18:40:28 +02:00
Tor Hedin Brønner
3af9d23d76 monitors: Add switch/move to monitor bindings 2019-10-10 15:15:39 +02:00
Tor Hedin Brønner
21ed59447d settings: add swipe-friction 2019-10-08 09:00:45 +02:00
Ole Jørgen Brønner
4e511e37ac Bottom margin
Kept the 'vertical-margin' key (as opposed to renaming to some variant of
top-margin) for compatibility reasons

closes #146
2019-07-08 18:36:38 +02:00
Ole Jørgen Brønner
040be580ac Configurable cycle-width/height steps 2019-07-01 22:11:01 +02:00
Tor Hedin Brønner
02131fb22c Add swipe sensitivity preference
Tune using (defaults are [1.0, 2.0]):
dconf write /org/gnome/shell/extensions/paperwm/swipe-sensitivity "[x, y]"
2019-06-17 11:42:31 +02:00
Tor Hedin Brønner
979bcc6c57 schema: fix default-show-top-bar description 2019-05-01 22:39:50 +02:00
Tor Hedin Brønner
b3c2845a2c Add default-show-top-bar preference
Also set per-workspace setting to true by default
2019-04-30 13:57:31 +02:00
Tor Hedin Brønner
d991a04319 workspace schema: add show-top-bar
Per workspace setting.
2019-04-30 13:36:40 +02:00
Tor Hedin Brønner
e8a9eea8e9 Revert previous 7 commits
Was not intended for master.

Revert "don't use workarea.y directly"

This reverts commit cb67f451a2.

Revert "space: connect settings"

This reverts commit 3c7ac9509e.

Revert "fixup! workspace menu: add zen toggle"

This reverts commit bff403c134.

Revert "workspace menu: add zen toggle"

This reverts commit 89bae34412.

Revert "Implement"

This reverts commit dd812e5714.

Revert "workspace schema: add `show-top-bar`"

This reverts commit 7dcac8896a.
2019-04-28 10:57:35 +02:00
Tor Hedin Brønner
7dcac8896a workspace schema: add show-top-bar 2019-04-28 02:52:07 +02:00
Tor Hedin Brønner
450359cd8a Make pressure barrier optional (false by default for now)
Set to false until we can figure out a good way to get it to work for multiple
monitors.
2019-03-02 18:29:42 +01:00
Tor Hedin Brønner
adcfa414ad preference: add use-workspace-name switch
Defaults to true. If false uses gnome shell's `Activities` text and hides the
workspace labels.

Set to false like this:
```
Extension.imports.convenience.getSettings()
  .set_boolean('use-workspace-name', false)
```
2019-02-15 00:15:54 +01:00
Tor Hedin Brønner
187f6ee9cb Only toggle the most recent window on super-escape
super-shift-escape toggles the whole layer.
2019-01-14 18:22:57 +01:00
Tor Hedin Brønner
75e66de782 keybind: super-t take window and place at final destination
This also fixes the rather strange behavior of super-ctrl-above_tab which
actually didn't move to the previous workspace.
2019-01-09 11:51:04 +01:00
Ole Jørgen Brønner
d5a7c81895 keybindings: cycle window height <super><shift>r 2019-01-05 12:52:52 +01:00
Tor Hedin Brønner
529102add1 Add animation-time setting 2018-12-17 22:21:57 +01:00
Ole Jørgen Brønner
3927af08c3 Cleanup: remove bitrotted tile-visible action 2018-12-08 16:09:40 +01:00
Tor Hedin Brønner
719d01e1f9 Add only-scratch-in-overview setting, defaults to false
Only show scratch windows in the overview, toggled by `only-scratch-in-overview`
setting.

see discussion:
https://paperwm.zulipchat.com/#narrow/stream/174110-design/subject/limit.20overview.20to.20scratch.20windows
2018-12-06 10:02:54 +01:00
Tor Hedin Brønner
b295e9d00d Add default-background preference
Not exposed in the preference ui yet.

Can be set with dconf or in `user.js` like this:

var settings = Extension.imports.convenience.getSettings();
settings.set_string('default-background', '/path/to/image.jpg');

ref #83
2018-10-19 11:16:36 +02:00
Tor Hedin Brønner
78740e76ce Disable the hot corner by default
Having the hot corner activate the overview works rather poorly with scrolling
through the workspaces.

We disable the functionality by default. The preference `override-hot-corner`
controls the functionality, so set it to false if you want it back.

A possibility is having the hot-corner force the top bar to be visible when
a fullscreen window has focus, but it's not yet implemented.
2018-08-28 01:24:04 +02:00
Michael Mogenson
ff732d93ea Fix some minor typos/spelling in documentation 2018-08-17 16:50:06 +02:00
Tor Hedin Brønner
02eccb50db keybindings: Document center horizontally and default to <Super>C 2018-08-02 13:01:29 +02:00
Tor Hedin Brønner
800f582a0a Simplify binding summaries 2018-07-11 18:47:56 +02:00
Tor Hedin Brønner
819b0d7066 Add relocatable workspace schema 2018-07-07 21:20:58 +02:00
Tor Hedin Brønner
18b116c2c1 Don't let the selection highlight protrude into the top bar 2018-07-03 18:05:45 +02:00
Tor Hedin Brønner
895b1915cd Add our own actions for all bindings
While we might need to steal some actions from gnome, we should support using
both actions if the user wants it.

Also add all the correct default bindings to the schema, and don't touch gesettings
at all. This should make it simpler to get #66 done.
2018-07-03 17:16:21 +02:00
Tor Hedin Brønner
4c9b7706bf Rename schema path to /org/gnome/shell/extensions/paperwm/
Also add /org/gnome/shell/extensions/paperwm/keybindings

NB! This is a breaking change to any existing config.
2018-07-03 17:01:57 +02:00
Tor Hedin Brønner
d47e731aae Add slurp-[i]n/barf-[o]ut bindings
`<super>i` and `<super>o` as default bindings.
2018-06-25 16:50:44 +02:00
Tor Hedin Brønner
a079300af3 Add `switch-left/right/up/down actions
Use `Super Page_Up/Down' for workspace movement
2018-06-25 16:50:44 +02:00
Ole Jørgen Brønner
cca3038957 Center window function (with mouse warp)
I find myself centering the focus window quite often since it's more
comfortable looking straight ahead.
2018-06-21 22:21:26 +02:00
Tor Hedin Brønner
293f2d18cd Add missing <Super><Ctrl>Left/Right binding 2018-05-29 18:32:43 +02:00
Tor Hedin Brønner
50158d6f91 <Super>Up/Down: bind to workspace mru stack
Also add <Super><Ctrl>Down/UP
2018-05-29 18:30:35 +02:00
Tor Hedin Brønner
6942df947f Monitor preference changes
Introduces `prefs.js` with simple `settings::change` signal handling.

Also put workspace colors in the schema and draw them from there.
2018-05-15 16:31:01 +02:00
Tor Hedin Brønner
d23ae6f7ac Use custom handler for extra close methods
This avoids overriding the default close binding (alt-f4).
2018-05-14 15:22:57 +02:00
Ole Jørgen Brønner
ba21e6859c Implement rcfile/user-config as module (#51)
Fixes #51
2018-05-01 17:07:05 +02:00
Tor Hedin Brønner
30fa4959c4 Bind <super>Escape to toggle scratch layer 2018-04-29 23:59:23 +02:00
Tor Hedin Brønner
92d5c112fb Use native mutter actions to override keybindings
This means that we won't kill keybindings on disable (which could be worked
around) or crashes (which would be much harder to work around).

NB: it's necessary to go into dconf and restore
`switch-applications[-backward]`, `switch-group[-backward]` to get the
keybindings working again.
2018-04-29 23:57:39 +02:00
Ole Jørgen Brønner
2afbe05911 Cleanup: remove unused schema keys
Comes from the first example file :)
2018-04-15 11:23:29 +02:00
Tor Hedin Brønner
425f4077d1 bindings: Add Ctrl bindings for moving windows 2018-04-05 17:41:38 +02:00
Tor Hedin Brønner
47dc3298d7 Bind <super>above_tab to previous-workspace 2018-02-25 10:36:40 +01:00
Tor Hedin Brønner
1e3b841f94 Add compiled schema
Makes it less likely to trigger crashes due to missing schema keys. Also makes
it easier to install for other people.
2018-02-25 10:36:40 +01:00