Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
79260b3
README: correction installation from git
harshadgavali Aug 6, 2021
1eb80e3
Update version
harshadgavali Aug 6, 2021
9b9c3e1
String correction
harshadgavali Aug 6, 2021
834ee46
prefs: change window size
harshadgavali Aug 6, 2021
573d4c7
gestures: Don't disable old swipeTracker entirely, keep touchgestures…
harshadgavali Aug 6, 2021
e53b698
snapWindow: fix window can be null
harshadgavali Aug 7, 2021
7b5f4c8
Clean and standardize language, typos, formatting (#4)
jacksongoode Aug 13, 2021
48d5253
eslint: added new rules
harshadgavali Aug 12, 2021
5c2570d
Comments: Add comment for enum definition
harshadgavali Aug 13, 2021
b56d7dc
README: add contributors and thanks
harshadgavali Aug 13, 2021
3ec1588
snapWindow: Assume Main panel height zero, is panel is hidden
harshadgavali Aug 13, 2021
9d2572f
snapWindow: Consider panelBox's y position to calculate net panel height
harshadgavali Aug 13, 2021
dfd1dfa
eslint: Add whitespace rule for switch-case
harshadgavali Aug 15, 2021
96893ff
snapWindow: Put Tilepreview above any child during animation
harshadgavali Aug 15, 2021
520211e
snapWindow: Better approach to put Tilepreview above any actor
harshadgavali Aug 16, 2021
6c5aad7
snapWindow: disable touch gestures
harshadgavali Aug 17, 2021
149f647
extension_page: Update README
harshadgavali Aug 17, 2021
57f6640
Remove empty file
harshadgavali Aug 17, 2021
8b716dd
gestures: Disable touchscreen gesture for workspace overlay shoot
harshadgavali Aug 17, 2021
ae86bfd
snapWindow: Fix tilepreview position when panel is on bottom
harshadgavali Aug 17, 2021
f90e6b3
code-cleanup: Code cleanup for snapWindow
harshadgavali Aug 17, 2021
ca7120e
snapWindow: Remove delay for activating snap left/right gesture
harshadgavali Aug 30, 2021
ee01c25
snapWindow: correct trigger threshold
harshadgavali Aug 30, 2021
880ead3
Shell 41 support
harshadgavali Sep 24, 2021
21272fb
get-it-on-ego
harshadgavali Sep 24, 2021
77b4c71
Update version
harshadgavali Oct 14, 2021
b180702
feature: gesture to minimize a single window using 4/3 fingers
kyteinsky Oct 18, 2021
ee562ab
Create ci.yml
harshadgavali Oct 19, 2021
7f193cd
Update makefile to work without `gnome-extensions` command
harshadgavali Oct 19, 2021
7bdbe9f
ci: Split build step
harshadgavali Oct 19, 2021
087240a
Add preference to not follow natural scroll
harshadgavali Oct 14, 2021
1e71c87
eslint: Add rule 'eqeqeq'
harshadgavali Oct 23, 2021
1036b01
Add environment file for shell related changes
harshadgavali Oct 23, 2021
493f6e7
gobject: Add registerClass method to give modified returned type
harshadgavali Oct 23, 2021
2c5057e
clutter: Add 'TOUCHPAD_HOLD' event type
harshadgavali Oct 23, 2021
8d94ae1
snapWindow: Use environment file
harshadgavali Oct 23, 2021
afef4cf
swipeTracker: Read 'TOUCHPAD_HOLD' gesture
harshadgavali Oct 23, 2021
9e52f2d
dbus: Read 'TouchpadHold' signal from daemon
harshadgavali Oct 23, 2021
aae55eb
gnome-shell: Update index.d.ts
harshadgavali Oct 23, 2021
10381a2
Gesture: Add gesture to move window to different workspace
harshadgavali Oct 23, 2021
cb2e548
github-ci: change artifact name
harshadgavali Oct 23, 2021
61ea72b
Add preference to not follow natural scroll
harshadgavali Oct 14, 2021
547be74
types: refactor types
harshadgavali Oct 23, 2021
a8d191a
transpile: Read code directory and type from arguments
harshadgavali Oct 23, 2021
4ba25b6
Update dependencies
harshadgavali Oct 23, 2021
37eeef6
Add @gi-types/gjs-environment package
harshadgavali Oct 23, 2021
2b4403a
Add gjs app to test ui changes
harshadgavali Oct 23, 2021
646cf52
github-ci: change artifact name
harshadgavali Oct 23, 2021
ce15cf2
Remove quotes from artifacts name
harshadgavali Oct 23, 2021
d864bf3
Merge pull request #19 from harshadgavali/wip/pref/workspace-natural-…
harshadgavali Oct 23, 2021
1c6171b
Merge branch 'main' into feature/minimize-window-gesture
harshadgavali Oct 23, 2021
2fd3602
prefs: Add preference to enable window minimize gesture
harshadgavali Oct 23, 2021
5b2d883
Merge pull request #18 from kyteinsky/feature/minimize-window-gesture
harshadgavali Oct 23, 2021
63f5d6d
Add maximized <-> fullscreen gesture
harshadgavali Oct 18, 2021
a25725e
snapWindow: Approximate maximized window size when window is fullscreen
harshadgavali Oct 23, 2021
d48ec7c
Merge pull request #20 from harshadgavali/gesture/maximize-fullscreen
harshadgavali Oct 23, 2021
1705d64
Merge remote-tracking branch 'origin/main' into gesture/move-window-w…
harshadgavali Oct 23, 2021
6be30e4
dependencies: Update @gi-types to new versioning scheme
harshadgavali Oct 23, 2021
5cb11fe
refactor: move some utils to common utils
harshadgavali Oct 23, 2021
b8d4e4e
Update Contributors
harshadgavali Oct 23, 2021
a217463
preferences: Add toggle to disable gestures
harshadgavali Oct 25, 2021
9263483
Add headerbar to preference window
harshadgavali Oct 25, 2021
d8f156c
Merge pull request #22 from harshadgavali/toggle-disable-gestures
harshadgavali Oct 25, 2021
ff33206
comments: add comment for 'fullscreen window's can't be maximized'
harshadgavali Oct 25, 2021
19afe00
should have option to enable minimize gesture on ubuntu dock
harshadgavali Oct 26, 2021
31bff21
Update README
harshadgavali Oct 27, 2021
6b16a3b
Update version
harshadgavali Oct 27, 2021
94c62fa
Create LICENSE
harshadgavali Oct 30, 2021
9d63899
workflows: Don't create release for PR
harshadgavali Nov 6, 2021
d81a91a
Add show desktop gesture
harshadgavali Oct 30, 2021
17b6d69
Merge origin/main
harshadgavali Oct 30, 2021
18010c8
preferences: Add preference for show desktop and move window gesture
harshadgavali Oct 30, 2021
dda5d18
move skip_taskbar windows as well
harshadgavali Oct 30, 2021
490ca57
animate transient windows with show desktop gesture
harshadgavali Oct 30, 2021
18aa8a9
showDesktop: Don't call minimize for transient windows
harshadgavali Oct 30, 2021
d07bd66
make some speed adjustments
harshadgavali Oct 30, 2021
80d75ca
use easeActor function
harshadgavali Oct 30, 2021
368d7ad
workspace-gestures: reset state early on end
harshadgavali Oct 30, 2021
00b0dc1
move-window: hack to ignore desktop icon's windows
harshadgavali Oct 31, 2021
12a70f6
overview-gestures: disable allow long swipes
harshadgavali Nov 1, 2021
696cfca
move-window: don't move fullscreen window
harshadgavali Nov 7, 2021
0780f19
Add package-lock.json file
harshadgavali Nov 9, 2021
c97c984
pinch: Add pinch gesture show desktop
harshadgavali Nov 20, 2021
b3e8a9d
Merge remote-tracking branch 'origin/main' into gesture/hold-gestures
harshadgavali Nov 20, 2021
d698e03
cleanup: create settings.ts
harshadgavali Nov 20, 2021
af57016
showDesktop: Set container above window group
harshadgavali Nov 20, 2021
0d1c2ff
showDesktop: use get_window_actors to get window actors
harshadgavali Nov 20, 2021
4e552f8
prefs: Add preference for pinch gestures
harshadgavali Nov 20, 2021
a12ae26
logging: JSONify message
harshadgavali Nov 21, 2021
79b161e
cleanup: Remove hold gesture to make seperate PR
harshadgavali Nov 21, 2021
1707997
debug: remove debug logs
harshadgavali Nov 21, 2021
5bc0698
cleanup: Move custom clutter type to gnome-shell
harshadgavali Nov 21, 2021
7532c93
cleanup: Remove residual schema code
harshadgavali Nov 21, 2021
ef18aea
Merge pull request #29 from harshadgavali/gesture/pinch-show-desktop
harshadgavali Nov 21, 2021
9e4fd7c
showDesktop: reset monitor groups when monitor layout changes
harshadgavali Nov 21, 2021
994498a
pinchTracker: Add inturrupt action
harshadgavali Nov 21, 2021
f5431b5
cleanup: Organize imports
harshadgavali Nov 21, 2021
2cc8453
showDesktop: Simplify identifying minimizable windows
harshadgavali Nov 21, 2021
1c0f4d5
pinchTracker: Revert unnecessary sign change of scale
harshadgavali Nov 21, 2021
04ce3fd
fix: call the destroy function
harshadgavali Nov 21, 2021
96d6a2b
Update README
harshadgavali Nov 21, 2021
472a71e
Update version
harshadgavali Nov 21, 2021
d47a65c
showDesktop: don't hide desktop windows :)
harshadgavali Nov 22, 2021
f0bbc97
altTab: Reset gesture state when switcher is destroyed
harshadgavali Nov 21, 2021
23f7c16
Update version
harshadgavali Nov 22, 2021
e258346
Create dependabot.yml
harshadgavali Jan 13, 2022
8cf7c74
Update dependabot.yml
harshadgavali Jan 13, 2022
1c617ff
Update dependabot.yml
harshadgavali Jan 17, 2022
324a349
build(deps-dev): bump @typescript-eslint/parser from 5.1.0 to 5.9.1 (…
dependabot[bot] Jan 22, 2022
877dd6d
build(deps): bump yargs from 17.2.1 to 17.3.1 (#45)
dependabot[bot] Jan 22, 2022
d98fbbb
build(deps-dev): bump @typescript-eslint/eslint-plugin (#51)
dependabot[bot] Jan 22, 2022
b0b48de
build(deps): bump typescript from 4.4.4 to 4.5.5 (#49)
dependabot[bot] Jan 22, 2022
293052b
build(deps-dev): bump @types/yargs from 17.0.4 to 17.0.8 (#44)
dependabot[bot] Jan 22, 2022
c4234e5
build(deps-dev): bump @types/node from 16.11.4 to 17.0.10 (#50)
dependabot[bot] Jan 22, 2022
10e2624
build(deps-dev): bump @types/node from 16.11.4 to 17.0.10 (#50)
dependabot[bot] Jan 22, 2022
828ac26
build(deps-dev): bump @typescript-eslint/parser from 5.9.1 to 5.10.0 …
dependabot[bot] Jan 22, 2022
5f87a35
build(deps-dev): bump eslint from 8.1.0 to 8.7.0 (#53)
dependabot[bot] Jan 22, 2022
8cb5fe9
Create codeql-analysis.yml
harshadgavali Jan 22, 2022
429f5ca
Add support for GNOME 42
harshadgavali Mar 16, 2022
a3c4212
metadata: remove older shell versions from
Apr 7, 2022
12d3f06
showDesktop: Area weighted centroid calculation
harshadgavali Nov 23, 2021
b5fb899
showDesktop: WIP add 2 algorithms
harshadgavali Nov 23, 2021
4f8a69e
showDesktop: Minimize to bottom if there's single window
harshadgavali Nov 23, 2021
e4adaab
schemas: Add option to revert direction of overview navigation gesture
harshadgavali Nov 26, 2021
7d8eb3c
Code cleanup remove unused methods
Mar 29, 2022
44ef4b0
prefs: Add option to revert direction of overview navigation gesture
harshadgavali Nov 26, 2021
e8f76ef
Merge pull request #74 from harshadgavali/gnome-42
harshadgavali Apr 7, 2022
4f6a260
deps: update npm dependencies
harshadgavali Apr 7, 2022
fd1a20e
arrow: add class for arrow icon animation
harshadgavali Apr 17, 2022
124fd5b
gesture: Add new gesture to go forward or backward in application
harshadgavali Apr 17, 2022
6608e3c
forwardBack: Send different keyboard keys for different application
Apr 17, 2022
049026d
bindings: Add script to generate typescript bindings for Adw
Apr 17, 2022
4a043cb
prefs: Update to libadwaita and add GUI for app specific gesture sett…
harshadgavali Apr 18, 2022
e093d7d
cleanup: remove old ui files
harshadgavali Apr 18, 2022
ba0cada
Update README
harshadgavali Apr 18, 2022
d56c40a
prefs: inform about default setting on app gesture page
Apr 19, 2022
7a73af5
workflows: Update action names
harshadgavali Apr 19, 2022
8b176f8
prefs: escape app names
harshadgavali Apr 19, 2022
ce8ccc6
prefs: increase app icon size
harshadgavali Apr 19, 2022
965823e
schemas: Add more default app gesture settings
harshadgavali Apr 19, 2022
a2c6d0c
Merge pull request #76 from harshadgavali/v20-beta
harshadgavali Apr 19, 2022
dfc2a31
Update version
harshadgavali Apr 19, 2022
9de8764
build: Add newlines in transpiled files for prettier output files
harshadgavali Apr 19, 2022
5157f1a
prefs: Always show minimize gesture option
harshadgavali Apr 19, 2022
e83181e
Add Close Window on 3 finger pinch
AchimStuy Jan 2, 2022
859f054
Add Close Window to settings
AchimStuy Jan 6, 2022
9f0bb3b
Add preview animation for close current window
AchimStuy Jan 19, 2022
1f74e83
fixup! Add preview animation for close current window
AchimStuy Jan 23, 2022
552b7f2
Change animation to red overlay increasing opacity.
AchimStuy Jan 23, 2022
4286d5d
Add threshold to cancel close window action.
AchimStuy Jan 24, 2022
640fa1f
Use PinchTracker's snap points instead of custom threshold implementa…
AchimStuy Feb 1, 2022
e52473b
Distinguish between `Close Document` and `Close Window`
AchimStuy Feb 1, 2022
97481e6
closeWindow: Update close window gesture for main branch
harshadgavali Apr 19, 2022
9efd901
dependencies: Generate typescript bindings for shell components locally
harshadgavali Apr 28, 2022
21b250d
forwardBack: Make forwardBack a hold-swipe gesture
harshadgavali Apr 28, 2022
c929824
Merge pull request #77 from harshadgavali/v20-beta
harshadgavali Apr 28, 2022
584dab8
prefs: Use buffer length for escaping app names
harshadgavali Apr 28, 2022
24064e4
Update READMEs
harshadgavali Apr 28, 2022
6d293be
stylesheet: Match border radius of tile preview with window
harshadgavali Apr 28, 2022
f367ad8
Version 22
harshadgavali Apr 28, 2022
b8f5f3a
pinchTracker: Emit gesture when tracker has pending ack too
harshadgavali Apr 28, 2022
9f6b445
prefs: Small improvements to app-prefs window
harshadgavali Apr 29, 2022
a9b2197
Animate opacity when showing St.Widget
harshadgavali May 27, 2022
10f7ca1
overviewRoundTrip: Add option to setnavigation states for overview ge…
harshadgavali May 28, 2022
a9644c9
Added 4 finger Vertical gesture for app navigation
adhadse Jun 12, 2022
26d33a1
Merge pull request #100 from harshadgavali/overview-nav-states
harshadgavali Jun 21, 2022
f0edc2c
Merge pull request #1 from harshadgavali/main
adhadse Jun 30, 2022
c05bb71
Draft: new UI to customize gestures
adhadse Jul 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 49 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/eslintrc",
"env": {
"es2021": true
},
Expand All @@ -17,7 +18,10 @@
"rules": {
"indent": [
"error",
"tab"
"tab",
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
Expand All @@ -31,6 +35,7 @@
"warn",
"always"
],
"no-var": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"no-unused-vars": "off",
Expand All @@ -43,7 +48,6 @@
"argsIgnorePattern": "^_"
}
],
"no-console": "error",
"no-empty": "error",
"no-mixed-spaces-and-tabs": "error",
"comma-dangle": [
Expand All @@ -63,7 +67,22 @@
"max": 2,
"maxEOF": 0
}
]
],
"object-curly-newline": [
"error",
{
"multiline": true
}
],
"function-call-argument-newline": [
"error",
"consistent"
],
"function-paren-newline": [
"error",
"multiline-arguments"
],
"eqeqeq": "error"
},
"overrides": [
{
Expand All @@ -76,16 +95,40 @@
"global": "readonly",
"imports": "readonly",
"console": "readonly",
"process": "readonly"
"process": "readonly",
"TextEncoder": "readonly",
"TextDecoder": "readonly"
},
"rules": {
"no-console": "off",
"no-var": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"no-unused-expressions": "off",
"no-mixed-spaces-and-tabs": "off",
"comma-dangle": "off",
"lines-between-class-members":"off"
"no-multiple-empty-lines": ["error", { "max": 1 }],
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": "*", "next": ["function", "multiline-var"] },
{
"blankLine": "always",
"prev": [
"function", "multiline-const",
"multiline-var", "multiline-let",
"multiline-expression", "multiline-block-like"
],
"next": "*"
}
],
"lines-around-comment": [
"error",
{
"beforeBlockComment": true,
"beforeLineComment": true,
"allowBlockStart": true
}
]
}
},
{
Expand All @@ -94,10 +137,7 @@
},
"files": [
"scripts/**/*.ts"
],
"rules": {
"no-console": "off"
}
]
}
]
}
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build

on:
push:
branches: ["*"]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
npm install

- name: Lint Source
run: |
npm run clean
npm run lint:extension

- name: Build
run: |
tsc
node build/scripts/transpile.js

- name: Lint package
run: |
npm run lint:package

- name: Create archive artifact
run: |
make pack

- name: Create ZipFile Name
id: zipName
run: echo "::set-output name=filename::gestureImprovements.$(date --iso-8601).$(git rev-parse --short HEAD)@gestures.shell-extension.zip"

- name: Upload archive artifact
uses: "actions/upload-artifact@v2"
with:
name: ${{ steps.zipName.outputs.filename }}
path: ${{ github.workspace }}/build/gestureImprovements@gestures.shell-extension.zip
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '22 8 * * 1'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
30 changes: 30 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Linter

on:
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
npm install

- name: Lint Source
run: |
npm run clean
npm run lint:extension
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
build/
node_modules/
package-lock.json
node_modules/
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"node_modules": true,
},
"typescript.preferences.importModuleSpecifierEnding": "index",
}
13 changes: 13 additions & 0 deletions @types/adw1/doc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Adw",
"api_version": "1",
"package_version": "1.1.0",
"imports": {
"Gtk": "4.0",
"GObject": "2.0",
"Gio": "2.0",
"GLib": "2.0",
"Gdk": "4.0",
"Gsk": "4.0"
}
}
Loading