Commit Graph

42 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
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
Ole Jørgen Brønner
0501e57745 prefs: add hide-top-bar switch
closes #239
2020-02-08 16:04:44 +01:00
Ole Jørgen Brønner
8a9d0c8bec prefs: add missing keybinding (toggle-scratch-window) 2020-02-08 00:18:25 +01:00
goodwillcoding
5d148a3f6a Spaces: add sequential navigation of spaces 2019-11-12 14:19:30 +01:00
Ole Jørgen Brønner
9e8da016f2 workspace-directory: prefs GUI 2019-10-18 19:21:45 +02:00
Tor Hedin Brønner
3b9e676d68 prefs workspaces: Add gnome-control-center background button 2019-10-12 13:02:53 +02:00
Tor Hedin Brønner
e5031142d2 prefs: fixup monitor bindings 2019-10-10 18:40:28 +02:00
Tor Hedin Brønner
0f15c879f5 prefs: Use All workspaces and `Per workspace frame 2019-10-10 18:40:28 +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
7d8d30b77a prefs: Add monitor keybindings 2019-10-10 15:15:39 +02:00
Tor Hedin Brønner
2de1f82dfb prefs: Hook up sensitivity and friction spinners 2019-10-08 09:08:20 +02:00
Tor Hedin Brønner
269ea7e21a prefs: Add some much needed margins and other fixes 2019-10-08 09:08:20 +02:00
Tor Hedin Brønner
d9c59ef50e prefs: don't scroll the tabs
The default tree view search doesn't work and can pop up outside the scroll so
disable it.

TODO: add something like `ctrl-f`, `/` to focus the search input
2019-10-01 22:20:19 +02:00
Ole Jørgen Brønner
42ab8b7352 prefs: show all stored workspace settings
num-workspaces does not reflect workspace count when using 'dynamic-workspaces'
2019-09-27 22:09:01 +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
82bc64512a prefs: clear workspace background button 2019-07-06 12:23:29 +02:00
Tor Hedin Brønner
621b7b728f Port to class in preparation for 3.32
see:
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/361

TODO: port the LayoutManager in minimap.js, though it looks like gjs won't
deprecrate Lang.Class yet, so it's probably fine to keep using it for now.
2019-03-24 03:49:36 +01:00
Ole Jørgen Brønner
22b1a717f0 prefs: better keybinding search 2019-01-26 21:12:39 +01:00
Tor Hedin Brønner
fc399526ff prefs: Fix unamed workspace names 2019-01-13 15:08:27 +01:00
Ole Jørgen Brønner
6a4e0f661f prefs: support starting at a specified workspace
In preparation for "go-to-settings" button in workspace context menu
2019-01-13 11:54:43 +01:00
Ole Jørgen Brønner
8e025a39eb prefs: Fix harmless NPE
When an action have no keybindings its empty row doesn't have "COLUMN_INDEX"
-1. (changing that breaks other things)
2019-01-13 08:36:44 +01:00
Tor Hedin Brønner
ac49cbac98 prefs: fix typo... 2019-01-11 20:33:20 +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
2483c0b04e prefs: Add hot corner and overview toggles 2018-12-07 07:14:15 +01:00
ganthern
9ad6ee605d added default background to preferences UI 2018-11-04 19:01:01 +01:00
Tor Hedin Brønner
fcaedb0004 prefs: Fix tooltip 2018-07-16 14:03:02 +02:00
Tor Hedin Brønner
9132979916 Add tooltip describing conflicts
Also add a reset toggle.
2018-07-15 20:35:04 +02:00
Ole Jørgen Brønner
8c39bb2e21 Filtered keybinding search (quick and dirty)
NB: get this log message when removing a binding:

  Gtk-CRITICAL **: 00:19:47.333: gtk_tree_model_filter_get_path: assertion
  'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed

But it doesn't really seem to be CRITICAL.
2018-07-12 12:17:35 +02:00
Ole Jørgen Brønner
cdabb978aa About section in prefs GUI 2018-07-11 22:49:00 +02:00
Ole Jørgen Brønner
0b9138294d Bugfix: prefs.js crashed on unbound actions
Worked by accident before - when the above_tab fixed was added our luck ran out
:)
2018-07-11 19:36:54 +02:00
Tor Hedin Brønner
d41d6b9033 Fix duplicate workspace settings
Simplyfy things by storing all workspace settings from the get go.
2018-07-11 18:47:56 +02:00
Tor Hedin Brønner
e6c76e26b9 Translate Above_Tab 2018-07-11 18:47:56 +02:00
Tor Hedin Brønner
8434d5b8e4 Only add new empty row if it's not already there 2018-07-11 18:47:56 +02:00
Tor Hedin Brønner
38a62a990f Use ... as description for extra bindings 2018-07-11 18:47:56 +02:00
Ole Jørgen Brønner
c76137fd77 Working tree-view based keybinding editor
Note: ideally we should subscribe to settings changes and update the TreeModel
in the listener instead of updating it directly in the signal handler for the
accel editor.
2018-07-11 18:47:56 +02:00
Tor Hedin Brønner
55c6b60803 Add settings UI with workspace controls and gap and margin spinners
`Settings.ui` is built with and can be inpsected with Glade.
2018-07-11 18:47:56 +02:00
Tor Hedin Brønner
3548f219a2 Rename prefs.js to settings.js
prefs.js causes issues as its used to lauch the settings gui from eg. tweaks.
2018-07-02 22:31:55 +02:00
Ole Jørgen Brønner
dea5cb958d Minor future proofing: Replace all '-' occurrences (not just the first) 2018-05-20 13:23:56 +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