-
Notifications
You must be signed in to change notification settings - Fork 142
Persistent centered mode (aka "Sticky Centering") #482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 26 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
e6b5f37
sticky center
hedning d54c6fc
Merge remote-tracking branch 'upstream/develop' into sticky-center
jtaala 2e9e312
Updated sticky-center branch to latest code (and latest centering
jtaala 9df98aa
Pressing the center-horizontally shortcut again results in
jtaala c2a33cd
Merge remote-tracking branch 'upstream/develop' into sticky-center
jtaala 54afadb
Added FocusModes and new bindsym "toggle-focus-mode". Updated schema.
jtaala a74ecd9
Entering center mode now also centers selectedWindow as well.
jtaala 1d82adf
Added simple "focus mode" icon in topbar (which shows current focus
jtaala 75c48a9
Focus mode icon is now clickable and cycles through focus modes when
jtaala 2f565f4
Now using a FocusIcon class to encapsulate icon logic. Added icon to
jtaala 066b779
Hides space icons during normal view (designed to be shown during
jtaala 215a722
Refactor naming to refer to "focus modes" in shortcuts and internally.
jtaala fbd225d
Merge branch 'develop' into sticky-center
jtaala 4ddd68b
Switching back normal focus mode (from centering mode) will move the
jtaala a8577a1
Now uncentering treats the first or last window specially, lines up with
jtaala 04aa77a
Refactor topbar.focusButton. Moved to after workspace name. Now the…
jtaala 8e1f449
Small improvements to setters in FocusModeIcon.
jtaala bab268d
Refactor of space focus mode elements to allow clickability (on
jtaala 96afb74
Workspace names on other monitors (e.g. secondary monitor etc.) is now
jtaala 98409c1
Improved click detection of space elements. Refactor and moved
jtaala 4ff5a15
Added dconf settable setting to show/hide the new focus mode icon (in
jtaala 367f4b0
Now packaging focus mode icons instead of relying on system icons (which
jtaala 50c8ca0
Cleanup and removal of unneeded code (from icon loading test).
jtaala a686b09
Added a focus mode icon "tooltip" (my version of one anyway).
jtaala 0776e87
FIX: focus mode icon tooltip now showing on correct monitor (in
jtaala 06f505a
Moved tooltip to FocusIcon. Now shows for other monitors too. Added
jtaala efbb81b
Update resources/ICONS.info
jtaala a67439f
Updated README.md with a section on focus modes (with picture). Adde…
jtaala 5c5b215
Merge remote-tracking branch 'upstream/develop' into sticky-center
jtaala 0153216
Small change to README.md.
jtaala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SVG icons adapted from "GNOME Project" adwaita-icon-theme (https://github.com/GNOME/adwaita-icon-theme). | ||
|
||
See http://www.gnome.org for more information. | ||
|
||
Please see terms, under which these icons have been copied, at https://github.com/GNOME/adwaita-icon-theme/blob/master/COPYING. | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.