https://github.com/andreastedile/tile
GNOME extension that snaps the window to a portion of the screen
https://github.com/andreastedile/tile
gnome-shell-extension
Last synced: about 2 months ago
JSON representation
GNOME extension that snaps the window to a portion of the screen
- Host: GitHub
- URL: https://github.com/andreastedile/tile
- Owner: andreastedile
- Created: 2021-08-17T21:36:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-17T21:54:22.000Z (almost 5 years ago)
- Last Synced: 2025-03-03T04:26:12.446Z (over 1 year ago)
- Topics: gnome-shell-extension
- Language: JavaScript
- Homepage:
- Size: 3.62 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a simple GNOME extension I wrote for fun, as an exercise.
- `CTRL+ALT+1` snaps the current focused window to the first third of the screen.
- `CTRL+ALT+2` snaps the current focused window to the second third of the screen.
- `CTRL+ALT+3` snaps the current focused window to the third third of the screen.

I later discovered an already existing extension which serves the same purpose, but is much more
advanced: https://github.com/sunwxg/gnome-shell-extension-arrangeWindows
Useful links:
- GJS guide: https://gjs.guide/extensions/
- GJS API reference: https://gjs-docs.gnome.org/
- GJS repository: https://gitlab.gnome.org/GNOME/gjs/
- Some examples from which to take inspiration from: https://gitlab.gnome.org/GNOME/gnome-shell/-/tree/main/js/ui
- Other examples: https://gitlab.com/justperfection.channel/how-to-create-a-gnome-shell-extension