From f822e251a0236917fde70290713236b8857c45b7 Mon Sep 17 00:00:00 2001 From: Jay Ta'ala Date: Tue, 6 Aug 2024 23:47:47 +1000 Subject: [PATCH 1/6] Set default center window action to center both vertically/horizontally (for scratch/floating windows). --- keybindings.js | 6 +++++- prefsKeybinding.js | 1 + schemas/gschemas.compiled | Bin 12269 -> 12357 bytes ...gnome.shell.extensions.paperwm.gschema.xml | 5 +++++ tiling.js | 12 +++++++----- 5 files changed, 18 insertions(+), 6 deletions(-) diff --git a/keybindings.js b/keybindings.js index f3d14d42..ccf9cd31 100644 --- a/keybindings.js +++ b/keybindings.js @@ -300,7 +300,11 @@ export function setupActions(settings) { Meta.KeyBindingFlags.PER_WINDOW); registerPaperAction("center-horizontally", - Tiling.centerWindowHorizontally, + Tiling.centerWindow, + Meta.KeyBindingFlags.PER_WINDOW); + + registerPaperAction("center-vertically", + (mw, _space) => Tiling.centerWindow(mw, false, true), Meta.KeyBindingFlags.PER_WINDOW); registerPaperAction('new-window', diff --git a/prefsKeybinding.js b/prefsKeybinding.js index 988c52df..9f351804 100644 --- a/prefsKeybinding.js +++ b/prefsKeybinding.js @@ -73,6 +73,7 @@ const actions = { 'barf-out', 'barf-out-active', 'center-horizontally', + 'center-vertically', 'paper-toggle-fullscreen', 'toggle-maximize-width', 'resize-h-inc', diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled index 24a8efbef5b1ae5ab809edd085eb03ef72751ac5..5d4a7157b752b437367ce1a4bdbc0e0f360723cf 100644 GIT binary patch literal 12357 zcmbVS3v^Z0nLb#Mw?rfu6_8itqTUelB2geA5E~Q_c}RRza&qsv$ywaob3Nzgfdwa{ zVl!=VSgl&dM+>W>){!x`R_v;EP>Z72k=im+mpF`0opicTT5*X_=KKD=_szK>T4v5# zU;Z!u-FNSQ|NGy2|9hYN^{Z{)wNn{OKLwDFDjpf4b%P*J1HJ|f297Vj^*D7bS8UZ= zZ$ef=F(luzPT=Y0ht?8{ax3s(E4yBxio6Kr_d>oo3S}2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IJsH>{$P)u zjHcZL{@X40d)y5eN!cTGG%>*}dEvx6oPNm{o_9oC%J))%800=X?zGz(9Lw`$tHbwj z5`>>3L3xK0;589mY-L~YMBC93#}6bnSV#JWXtsu#d=8zSM}xGZZ;Cx=(@yuTn~(5u z6Q85=e{m@I&8IKE13#mVnEuG5h2B-5rOF$rNA12VRa7jf@%?uG{r}3(&y^i7nbJGDuMnDWEVj!MOr<+^8Ogd-&j!Kx)JOF*8v?ex-JFj4JM>;eO^D*{gt1k zKAB_kDF5j)X2T;eDZl4kXZnwQzPVmn7e8o8Qk*L@+PO{T!8*hPeqK(=YckP6y z|J76M1zBgx{Y`SfpRBbecJg9b_cs*BrlOiSHJ9b0K{~Jgz<=gnT~FtIIM0 z{Crvbm~%hQ&p`7?Blwi^VH*82x5zHJ*-9YIvh^VMd(2CCelWReW_5Gz0&8+jZB1o$ zoi(|-x~8_O(wbabTUA#HuCA}HsI9do*HzZmR?ousrrP?tDtxb)wQyE7u3I>(rltnp z>#A$3X5zZanx;B%Q&s)U+Inm9teX0Y#%6qPY^rH&Lc6NQ+F6%dlNZdat*vR~b+ayS zguUj91y%LUR$xA=Rff8tH9U;N*1KHqhMyMULgKAJ&2WqCdVZvy^u_Mm&Hr_BG&+6ulGSXeoC zH1(9ZukHnJ2R5C1TL<-&`8>W0{4?Oe;>V;tWwzf7K0p}@JO4+VGM`(?e*i8Y@%@do zLz(|m-UmJggv)lWj%3$eIZP9M-1V^$_N0t5&Lw1c4}S1HFNg6R1;|;ier10cm-HKb U$bAO)0`#He6gX*f$BgU#AAMYKF#rGn diff --git a/schemas/org.gnome.shell.extensions.paperwm.gschema.xml b/schemas/org.gnome.shell.extensions.paperwm.gschema.xml index 613a160a..7652076a 100644 --- a/schemas/org.gnome.shell.extensions.paperwm.gschema.xml +++ b/schemas/org.gnome.shell.extensions.paperwm.gschema.xml @@ -420,6 +420,11 @@

Center window horizontally + + v']]]> + Center window vertically (non-tiled window) + + f']]]> Maximize the width of the active window diff --git a/tiling.js b/tiling.js index a9ac47c6..32349bc9 100644 --- a/tiling.js +++ b/tiling.js @@ -801,7 +801,7 @@ export class Space extends Array { // if only one column on space, then center it if (centerIfOne && this.length === 1) { const mw = this.getWindows()[0]; - centerWindowHorizontally(mw); + centerWindow(mw); } callback && callback(); @@ -4947,15 +4947,17 @@ function activateWindowAfterRendered(actor, mw) { /** * Centers the currently selected window. */ -export function centerWindowHorizontally(metaWindow) { +export function centerWindow(metaWindow, horizontal = true, vertical = true) { const frame = metaWindow.get_frame_rect(); const space = spaces.spaceOfWindow(metaWindow); const monitor = space.monitor; const workArea = space.workArea(); - const targetX = workArea.x + Math.round((workArea.width - frame.width) / 2); + const targetX = horizontal ? workArea.x + Math.round((workArea.width - frame.width) / 2) : frame.x; + let targetY = vertical ? workArea.y + Math.round((workArea.height - frame.height) / 2) : frame.y; + targetY = Math.max(targetY, workArea.y); if (space.indexOf(metaWindow) === -1) { - Scratch.easeScratch(metaWindow, targetX + monitor.x, frame.y); + Scratch.easeScratch(metaWindow, targetX + monitor.x, targetY); } else { move_to(space, metaWindow, { x: targetX, @@ -5003,7 +5005,7 @@ export function setFocusMode(mode, space) { } else { space.unfocusXPosition = workArea.width; } - centerWindowHorizontally(selectedWin); + centerWindow(selectedWin); } break; default: From 9eb455f12c371d484144b6b7d81c8fc1a8871efa Mon Sep 17 00:00:00 2001 From: SuleymanCommits Date: Wed, 7 Aug 2024 09:02:59 +0400 Subject: [PATCH 2/6] Fix 'keybard' typo Replace 'Keybard' with 'Keyboard' in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61c89f83..19b289af 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Users are enouraged to submit [issues](https://github.com/paperwm/PaperWM/issues Most functionality is available using a mouse, eg. activating a window at the edge of the monitor by clicking on it. Wayland support gestures (See the [Touchpad Gestures](#touchpad-gestures) section). PaperWM is designed to work work well with keyboard + mouse, trackpads etc. -Most keybindings start with the Super modifier (by default), which is usually the Windows key, or on mac keyboards it's the Command key. It's possible to modify the keyboard layout so that Super is switched with Alt making all the keybindings easier to reach. This can be done through Gnome Tweaks under `Keybard & Mouse` ⟶ `Additional Layout Options` ⟶ `Alt/Win key behavior` ⟶ `Left Alt is swapped with Left Win`. +Most keybindings start with the Super modifier (by default), which is usually the Windows key, or on mac keyboards it's the Command key. It's possible to modify the keyboard layout so that Super is switched with Alt making all the keybindings easier to reach. This can be done through Gnome Tweaks under `Keyboard & Mouse` ⟶ `Additional Layout Options` ⟶ `Alt/Win key behavior` ⟶ `Left Alt is swapped with Left Win`. Most keybindings will grab the keyboard while Super is held down, only switching focus when Super is released. Escape will abort the navigation taking you back to the previously active window. From b1dc11a90f4becf00abae34b6a451672ed88a19d Mon Sep 17 00:00:00 2001 From: Jay Ta'ala Date: Wed, 7 Aug 2024 20:00:36 +1000 Subject: [PATCH 3/6] Changed to have separate centering (horizontal/vertical) and also an (unassigned by default) keybind for centering both. --- keybindings.js | 6 +++++- prefsKeybinding.js | 1 + schemas/gschemas.compiled | Bin 12357 -> 12333 bytes ...gnome.shell.extensions.paperwm.gschema.xml | 5 +++++ tiling.js | 2 +- 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/keybindings.js b/keybindings.js index ccf9cd31..769dd8e3 100644 --- a/keybindings.js +++ b/keybindings.js @@ -300,13 +300,17 @@ export function setupActions(settings) { Meta.KeyBindingFlags.PER_WINDOW); registerPaperAction("center-horizontally", - Tiling.centerWindow, + (mw, _space) => Tiling.centerWindow(mw, true, false), Meta.KeyBindingFlags.PER_WINDOW); registerPaperAction("center-vertically", (mw, _space) => Tiling.centerWindow(mw, false, true), Meta.KeyBindingFlags.PER_WINDOW); + registerPaperAction("center", + Tiling.centerWindow, + Meta.KeyBindingFlags.PER_WINDOW); + registerPaperAction('new-window', App.duplicateWindow, Meta.KeyBindingFlags.PER_WINDOW); diff --git a/prefsKeybinding.js b/prefsKeybinding.js index 9f351804..c74d5362 100644 --- a/prefsKeybinding.js +++ b/prefsKeybinding.js @@ -74,6 +74,7 @@ const actions = { 'barf-out-active', 'center-horizontally', 'center-vertically', + 'center', 'paper-toggle-fullscreen', 'toggle-maximize-width', 'resize-h-inc', diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled index 5d4a7157b752b437367ce1a4bdbc0e0f360723cf..484bc32864f8f3279e98bd501039d8a7dd491ad9 100644 GIT binary patch literal 12333 zcmb7K4R{sRnI0^W@E?I7DqsX6H|mf}{zw!E3B(2^NQq#qKQOs>Ztg5Mcdj!xB)Di( z6`TFRe={-w9}Q^#^qtxn<*%{^&GKn*n|PbWPhmOVg$n z{_I)mH_g$si=h7ri}sTf&0U}UK>vNSN#MWZl&A2 zIwA@0)!<)$yjUm4(#Ht!k%KTA|HqI77z;iQ7!MQx6M%`pBmgea&IHZ^&Itj-s9^}T zbAck@JYWV;tZ+VLM4<#y2Qai6ydanhNtA_90bU7I12qa4L(T^l01JUypiW^i7efC&Aw1G`GHEgDy zd?NHckoN)mexG@Udh)ZNe;V>xU}XJ>`Dp0-AWr}{Jymu#_2jg(;0(kV(6X~v%9FEvHRMttHEX%}ft-G5 zf&4pQ_UulH6LPlO1-ToT|8Do&te<==^oJl11Dm(Cyh=Se{csHOI1rtA%j49OkAt2G zB@ZafyX`6J$)`YH1i27MzV^o!>dB`;zZP;MaOcLF*QqC`ojs77fl2>d&4n_K>rlM#yUbt*}sQh9IYZl927djI(|@m3nfzL2wDdmvv2E`M%PV>8+%mw5sCAuxGH$1~KEGY=GCk$?-dk8WKv zn|gA_a}@G2;9vG{Pf<_K{!1UAM{dBPJI%x9e7~WrzZ8}Tt~Vfw*b$seCjvUlQRx`A-4nL z?tbYo_2eU<-vzlJxaF`nkH|UhM<9O(Ox+s2faS?KAM>$M919rM3%5{DPCpbumIG^Q z3!>DMGw&^eyaKr6^w%Dup1cV94CI}_`F}XCfO>MtdyxBppMGo7ZtBTt&mqWnfrIN^ zoqBTmvmbIIHY9x?{`ynu$r+y!NFCVQ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f{ddZ#cxMyce-!gc#zlHcn(+p@<8y~r!Tw%KVuy+ z_Q;^+UgN5HBkNJZcV!io8dU#&SAEYv@%e?S$4e#G59}m-hwB=HqVF|aR3bvEQ*nWN zBfOdo-G2sAsS+!9+Q-uCbG3z^1{zycjrt2enW}V9!1wrG&Ny*>=bKKmO2EE>>NShB zx!;n0e949a*NvhDXy1g4UYCN*dJ|G;C&v!ezVfrIPv-I$VHU^5EIfiL<@22H8T&D- zGPu>XldA8u@2mQuuY#mL<0LzivGKMWuSRis7I*EWr+-2!oe8qel=jW!fIqp`n%K#S zWo>ULj?Ic{;?#VtFB-J@(xjXH3GJ!;ewMS{EYH|8IfJ;*q&*++vCV$2tLGZb@k!#< zbrkl;(cd7Qv=O)1o%q_ef1JdUZfspPO2ltwo~oha+XO7KkP zVH)`ON^4qKS$Rcii8ZaFqO`IE zvaG7CxT3ks9o2=_cb9CyOpRSX8_zQxa5{9}i> ze?5WA0r?#XIk4&M zo13X8=Xrb>HqX(({rNwU^5iUE06Cc)8#{k{PR?^H>FRb;vp(ylnTa zBiVgd-pPqR?)pfCJy}K>=Mpk(gAe}CnZx)W3y{;PKBYa3OZtsIWS+sChdz`!1(~v$ IG2?sx3j(xoTL1t6 diff --git a/schemas/org.gnome.shell.extensions.paperwm.gschema.xml b/schemas/org.gnome.shell.extensions.paperwm.gschema.xml index 7652076a..d4d5cf3f 100644 --- a/schemas/org.gnome.shell.extensions.paperwm.gschema.xml +++ b/schemas/org.gnome.shell.extensions.paperwm.gschema.xml @@ -425,6 +425,11 @@ Center window vertically (non-tiled window) + + + Center window + + f']]]> Maximize the width of the active window diff --git a/tiling.js b/tiling.js index 32349bc9..c787d8b7 100644 --- a/tiling.js +++ b/tiling.js @@ -4953,7 +4953,7 @@ export function centerWindow(metaWindow, horizontal = true, vertical = true) { const monitor = space.monitor; const workArea = space.workArea(); - const targetX = horizontal ? workArea.x + Math.round((workArea.width - frame.width) / 2) : frame.x; + const targetX = horizontal ? workArea.x + Math.round((workArea.width - frame.width) / 2) : frame.x; let targetY = vertical ? workArea.y + Math.round((workArea.height - frame.height) / 2) : frame.y; targetY = Math.max(targetY, workArea.y); if (space.indexOf(metaWindow) === -1) { From 1bb1b4872db98bc48e90674be596e43ac095bf7a Mon Sep 17 00:00:00 2001 From: Jay Ta'ala Date: Wed, 7 Aug 2024 20:10:55 +1000 Subject: [PATCH 4/6] Changed to vertical false by default (aligns more with previous behaviours). --- keybindings.js | 2 +- tiling.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keybindings.js b/keybindings.js index 769dd8e3..efe18151 100644 --- a/keybindings.js +++ b/keybindings.js @@ -308,7 +308,7 @@ export function setupActions(settings) { Meta.KeyBindingFlags.PER_WINDOW); registerPaperAction("center", - Tiling.centerWindow, + (mw, _space) => Tiling.centerWindow(mw, true, true), Meta.KeyBindingFlags.PER_WINDOW); registerPaperAction('new-window', diff --git a/tiling.js b/tiling.js index c787d8b7..f4d6c926 100644 --- a/tiling.js +++ b/tiling.js @@ -4947,7 +4947,7 @@ function activateWindowAfterRendered(actor, mw) { /** * Centers the currently selected window. */ -export function centerWindow(metaWindow, horizontal = true, vertical = true) { +export function centerWindow(metaWindow, horizontal = true, vertical = false) { const frame = metaWindow.get_frame_rect(); const space = spaces.spaceOfWindow(metaWindow); const monitor = space.monitor; From a2daeda69361ec1fbd57795f134ccc652e2349c3 Mon Sep 17 00:00:00 2001 From: Jay Ta'ala Date: Wed, 7 Aug 2024 20:19:31 +1000 Subject: [PATCH 5/6] FIX: issue where a window isn't centered on opening. --- tiling.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tiling.js b/tiling.js index f4d6c926..449ca950 100644 --- a/tiling.js +++ b/tiling.js @@ -3746,6 +3746,10 @@ export function resizeHandler(metaWindow) { // Resizing from within a size-changed signal is troube (#73). Queue instead. space.queueLayout(true, { callback, centerIfOne: false }); } + + if (space.length === 1) { + centerWindow(metaWindow); + } } /** From 6cc99b4575effb036eac8163522548e501f6e7a6 Mon Sep 17 00:00:00 2001 From: Jay Ta'ala Date: Wed, 7 Aug 2024 20:26:58 +1000 Subject: [PATCH 6/6] Updated metadata.json. --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index a5fa59ee..a3316e8d 100644 --- a/metadata.json +++ b/metadata.json @@ -5,7 +5,7 @@ "url": "https://github.com/paperwm/PaperWM", "settings-schema": "org.gnome.shell.extensions.paperwm", "shell-version": [ "45", "46" ], - "version-name": "46.15.1", + "version-name": "46.16.0", "donations": { "buymeacoffee": "jaytaala", "patreon": "valpackett"