Compare commits

...
Author SHA1 Message Date
theupriser b67c15b992 Merge release/2.13.0 into feature/desktop-icons-top-right
Sync git.upriser.nl mirror / sync (push) Skipped
2026-10-15 21:14:42 +02:00
theupriser dbc0532f64 Merge pull request #92 from theupriser/feature/dock-bottom
Sync git.upriser.nl mirror / sync (push) Skipped
Single-file build / bundle (push) Successful in 28s
GNOME theme: the dock at the bottom by default
2026-10-15 21:14:16 +02:00
theupriser 18d3659d36 GNOME theme: desktop icons from the top right, Steamify's launchers placed from there 2026-10-15 21:13:41 +02:00
theupriser 916c3b67d5 GNOME theme: the dock at the bottom by default 2026-10-15 21:11:14 +02:00
theupriser 0151b66144 Merge pull request #91 from theupriser/bugfix/gnome-extras-ownership
Sync git.upriser.nl mirror / sync (push) Skipped
Single-file build / bundle (push) Successful in 16s
Turning everything off gives GNOME back the desktop and tray icon extensions Steamify added
2026-10-15 21:08:31 +02:00
theupriser 200c15b257 Merge pull request #90 from theupriser/bugfix/gnome-theme-leftovers
Sync git.upriser.nl mirror / sync (push) Skipped
Single-file build / bundle (push) Successful in 16s
GNOME theme off: remove the dock's and tiling's settings schemas
2026-10-15 21:08:18 +02:00
2 changed files with 20 additions and 3 deletions

No files matched your search

+2
View File
@@ -20,6 +20,8 @@ one per merged pull request.
- **fix: Restart GNOME logs in to GNOME: after the SteamOS conversion the account's session is gaming mode, and the relogin went there (a restart that took a minute: Steam starting in gaming mode). `steamify-gdm-relogin` takes the session to log in to (the one the app runs in) for this login only and puts the account's session, the one the next boot goes to, back once the new session is up**
- **fix: turning the GNOME theme off also removes the dock's and tiling's settings schemas that were copied to `~/.local/share/glib-2.0/schemas` for GNOME Settings' panel (they stayed behind, for extensions that were gone). Desktop Icons NG and AppIndicator stay: they belong to the SteamOS conversion (the desktop shortcut and Steam's tray icon)**
- **fix: turning everything off gives GNOME back what Steamify added for the desktop and tray icons: Desktop Icons NG and AppIndicator (and Extension Manager), which the SteamOS conversion and now the GNOME theme both need. When the last of the two is turned off, the two extensions leave the user's list of enabled extensions and the packages Steamify installed (noted in `gnomeextras.list` before installing, so packages the user had stay) are removed; while the other one is still on they stay, and are enabled again (the theme's undo puts back the list it found). Before, nothing removed them. The theme installs them itself too**
- **feat: the GNOME theme puts the dock at the bottom of the screen (Ubuntu's own default is the left); it can still be moved in GNOME Settings > GNOME Desktop (the Dock panel)**
- **feat: the GNOME theme puts the desktop icons at the top right (Desktop Icons NG's start corner, like Ubuntu and macOS) and clears the saved positions of Steamify's own launchers (Return to Gaming Mode, Steamify, Steam) so they are placed from there, in name order; the user's own files keep theirs. Turning the theme off puts the start corner back**
## 2.12.0 - 2026-10-13
+18 -3
View File
@@ -91,16 +91,20 @@ gnometheme_shell() {
# The top bar and dash colors (the Steamify Vapor extension), and the dock beside it.
gnometheme_extensions_install
gnometheme_backgrounds
# Like Ubuntu's dock: on the left, always there; its look is Ubuntu's own, left as it is. Its shape (a
# panel to the screen edge or floating) is left to the user: Dock Settings.
# Ubuntu's dock, always there, at the bottom (Ubuntu puts it on the left; on a wide screen the bottom is where the eye
# and the pointer are); its look is Ubuntu's own, left as it is. Its shape (a panel to the screen edge or floating)
# is left to the user: Dock Settings.
local d=org.gnome.shell.extensions.dash-to-dock
gset gnometheme $d dock-position "'LEFT'" || true
gset gnometheme $d dock-position "'BOTTOM'" || true
gset gnometheme $d dock-fixed true || true
gset gnometheme $d running-indicator-style "'DOTS'" || true
gset gnometheme $d click-action "'minimize-or-previews'" || true
# Trash is in the dock, not on the desktop (Ubuntu does the same).
gset gnometheme org.gnome.shell.extensions.ding show-trash false || true
gset gnometheme $d show-trash true || true
# Desktop icons from the top right, like Ubuntu's and macOS's desktops (Desktop Icons NG fills from the corner it starts at).
gset gnometheme org.gnome.shell.extensions.ding start-corner "'top-right'" || true
gnometheme_desktop_icons_reset
local uuid enabled
for uuid in "${GNOME_THEME_EXTENSIONS[@]}"; do
enabled="$(gs get org.gnome.shell enabled-extensions 2>/dev/null)" || return 0
@@ -111,6 +115,17 @@ gnometheme_shell() {
done
}
gnometheme_desktop_icons_reset() {
# Steamify's own launchers on the desktop were placed (and their spot saved) from the left corner: without a saved
# position Desktop Icons NG puts them where its start corner says, by name. Only these, never the user's files.
local dir f
dir="$(xdg-user-dir DESKTOP 2>/dev/null || echo "$HOME/Desktop")"
for f in "$dir/Return to Gaming Mode.desktop" "$dir/io.github.theupriser.Steamify.desktop" "$dir/steam.desktop"; do
[[ -e "$f" ]] && gio set -t unset "$f" metadata::nautilus-icon-position 2>/dev/null
done
return 0
}
gnometheme_extras_install() {
# The desktop icons and the tray icons of the Ubuntu-style look: Desktop Icons NG and AppIndicator (and Extension Manager
# for them), the same the SteamOS conversion needs (lib/desktop-shortcut.sh). Not fatal: the theme works without them.