Skip to content

Commit 0fe2a2d

Browse files
committed
version 17.1: fix cycle layouts for GNOME 48, updated translations, accent colors for window border
1 parent 1a88d90 commit 0fe2a2d

30 files changed

+2114
-1561
lines changed

Vagrantfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,16 @@ Vagrant.configure("2") do |config|
126126
configure_gnome_vm(gnome46, "bento/fedora-40")
127127
end
128128

129+
# GNOME 47 on Fedora 41
130+
config.vm.define "gnome47", primary: true do |gnome46|
131+
configure_gnome_vm(gnome46, "bento/fedora-41")
132+
end
133+
134+
# GNOME 48 on Fedora 42
135+
config.vm.define "gnome48" do |gnome48|
136+
configure_gnome_vm(gnome48, "bento/fedora-42")
137+
end
138+
129139
# GNOME 49 on Fedora 43
130140
config.vm.define "gnome49" do |gnome49|
131141
configure_gnome_vm(gnome49, "bento/fedora-43")

accentColorBorder.webm

608 KB
Binary file not shown.

esbuild.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ function init(meta) {
3939
`;
4040

4141
const prefsBanner = `// For GNOME Shell version before 45
42-
const Config = imports.misc.config;
43-
4442
class ExtensionPreferences {
4543
constructor(metadata) {
4644
this.metadata = metadata;
@@ -86,8 +84,8 @@ function convertImports(text) {
8684
// drop import of ExtensionPreferences class
8785
text = text.replaceAll('import { ExtensionPreferences } from "resource:///org/gnome/Shell/Extensions/js/extensions/prefs.js";', "");
8886

89-
// drop import of Config from preferences
90-
text = text.replaceAll('import * as Config from "resource:///org/gnome/Shell/Extensions/js/misc/config.js";', "");
87+
// replace import of Config
88+
text = text.replaceAll('import * as Config from "resource:///org/gnome/Shell/Extensions/js/misc/config.js";', "const Config = imports.misc.config;");
9189

9290
// replace import of translation related code
9391
const regexTranslation = new RegExp(`import {(.*|\n.*)?gettext as _[^from]*[^;]*;`, 'gm');

manage_pr.sh

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
#!/usr/bin/env bash
2+
3+
set -e # exit on error
4+
5+
# Usage info
6+
usage() {
7+
echo "Usage:"
8+
echo " $0 fetch <PR_NUMBER> <PR_BRANCH_NAME>"
9+
echo " $0 push <PR_USERNAME> <PR_BRANCH_NAME> [--force]"
10+
echo
11+
echo "Examples:"
12+
echo " $0 fetch 345 feat-about-something"
13+
echo " $0 push domferr feat-about-something"
14+
echo " $0 push domferr feat-about-something --force"
15+
exit 1
16+
}
17+
18+
# Ensure at least one argument is provided
19+
if [ $# -lt 1 ]; then
20+
usage
21+
fi
22+
23+
ACTION=$1
24+
shift
25+
26+
case "$ACTION" in
27+
fetch)
28+
if [ $# -ne 2 ]; then
29+
usage
30+
fi
31+
PR_NUMBER=$1
32+
PR_BRANCH_NAME=$2
33+
34+
echo "Fetching PR #$PR_NUMBER into local branch '$PR_BRANCH_NAME'..."
35+
set -x
36+
git fetch origin pull/"$PR_NUMBER"/head:"$PR_BRANCH_NAME"
37+
set +x
38+
echo "✅ Done. You can now checkout the branch with:"
39+
echo " git checkout $PR_BRANCH_NAME"
40+
;;
41+
42+
push)
43+
if [ $# -lt 2 ] || [ $# -gt 3 ]; then
44+
usage
45+
fi
46+
PR_USERNAME=$1
47+
PR_BRANCH_NAME=$2
48+
FORCE_FLAG=""
49+
50+
if [ "${3:-}" = "--force" ]; then
51+
FORCE_FLAG="--force"
52+
echo "⚠️ Force push enabled."
53+
fi
54+
55+
echo "Pushing branch '$PR_BRANCH_NAME' to $PR_USERNAME/tilingshell.git as '$PR_BRANCH_NAME'..."
56+
set -x
57+
git push $FORCE_FLAG git@github.com:"$PR_USERNAME"/tilingshell.git "$PR_BRANCH_NAME":"$PR_BRANCH_NAME"
58+
set +x
59+
echo "✅ Done."
60+
;;
61+
62+
*)
63+
usage
64+
;;
65+
esac
66+

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tilingshell",
3-
"version": "17.0",
3+
"version": "17.1",
44
"author": "Domenico Ferraro <ferraro.domenico125@gmail.com>",
55
"private": true,
66
"license": "GPL v2.0",
@@ -23,10 +23,13 @@
2323
"prettier:check": "prettier --check \"**/*.{ts,scss}\"",
2424
"prettier:fix": "prettier --write \"**/*.{ts,scss}\"",
2525
"vm:sync": "vagrant rsync",
26-
"dev:vm:gnome46": "npm run vm:sync; vagrant up gnome46",
26+
"dev:vm:gnome46": "npm run vm:sync gnome46; vagrant up gnome46",
2727
"vm:destroy:gnome46": "vagrant destroy gnome46",
2828
"vm:halt:gnome46": "vagrant halt gnome46",
29-
"dev:vm:gnome49": "npm run vm:sync; vagrant up gnome49",
29+
"dev:vm:gnome47": "npm run vm:sync gnome47; vagrant up gnome47",
30+
"vm:destroy:gnome47": "vagrant destroy gnome47",
31+
"vm:halt:gnome47": "vagrant halt gnome47",
32+
"dev:vm:gnome49": "npm run vm:sync gnome49; vagrant up gnome49",
3033
"vm:destroy:gnome49": "vagrant destroy gnome49",
3134
"vm:halt:gnome49": "vagrant halt gnome49"
3235
},
1.01 KB
Binary file not shown.
793 Bytes
Binary file not shown.
1021 Bytes
Binary file not shown.

resources/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"49"
1414
],
1515
"version": 99,
16-
"version-name": "17.0",
16+
"version-name": "17.1",
1717
"url": "https://github.com/domferr/tilingshell",
1818
"settings-schema": "org.gnome.shell.extensions.tilingshell",
1919
"gettext-domain": "tilingshell",

resources/schemas/org.gnome.shell.extensions.tilingshell.gschema.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@
152152
<summary>Focused window border color</summary>
153153
<description>The color of the focused window's border.</description>
154154
</key>
155+
<key name="window-use-custom-border-color" type="b">
156+
<default>false</default>
157+
<summary>Use custom color</summary>
158+
<description>Use the color defined here for the focused window's border.</description>
159+
</key>
155160
<key name="window-border-width" type="u">
156161
<default>3</default>
157162
<summary>Focused window border width</summary>

0 commit comments

Comments
 (0)