mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-15 21:15:24 +02:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b67c15b992 | ||
|
|
dbc0532f64 | ||
|
|
18d3659d36 |
No files matched your search
@@ -21,6 +21,7 @@ one per merged pull request.
|
||||
- **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
|
||||
|
||||
|
||||
@@ -102,6 +102,9 @@ gnometheme_shell() {
|
||||
# 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
|
||||
@@ -112,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.
|
||||
|
||||
Reference in new issue
Block a user