Skip to content

Golden Gate Dock: свои значки важнее MacTahoe / Dock: your own icons, before MacTahoe's - #146

Closed
Alastor1991 wants to merge 2 commits into
MixaDoDs:mainfrom
Alastor1991:dock-own-icons
Closed

Alastor1991 wants to merge 2 commits into
MixaDoDs:mainfrom
Alastor1991:dock-own-icons

Conversation

@Alastor1991

Copy link
Copy Markdown
Contributor

Зачем

Некоторые значки MacTahoe в Dock выглядят плохо. Например, у Steam логотип нарисован срезанным по краю плитки: рука уходит за край, а маленький круг превращается в полумесяц. Варианты steam-icon, steam-launcher, steam-native и steampowered все ссылаются на этот же файл. Подложить другой значок можно было только правкой скачанной темы, а при новом скачивании она пропадала.

Что добавлено

Папка своих значков ~/.local/share/angelos/icons/dock/. Файл <имя>.svg или <имя>.png в ней важнее значков MacTahoe и темы.

  • Имена те же, по которым Dock уже ищет значок: имя значка из .desktop, id программы, последняя часть id (org.gnome.Nautilus → nautilus).
  • То же для «Приложений», «Системных настроек», Загрузок и Корзины: view-app-grid, preferences-system, folder-download, user-trash, user-trash-full.
  • Папка читается на лету (FolderListModel): положил значок, и он сразу появился в Dock.
  • Свои значки работают и при выключенных значках MacTahoe.
  • Настройки → Dock → «Свои значки» открывают папку и создают её, если её нет.

Сами значки в репозиторий не кладутся, это личное.

Проверено

На живом шелле (niri 26.04, angel-niri ce52b4a8): значок Steam из этой папки, Dock и Alt+Tab. scripts/qml-check.sh: 710 файлов, 0 ошибок.

EN

Some MacTahoe icons don't suit the Dock: Steam's logo is drawn cut at the tile's edge, and steam-icon, steam-launcher, steam-native, steampowered all link to that one file. The only way round was editing the downloaded theme, which a new download takes back.

~/.local/share/angelos/icons/dock/<name>.svg or .png now comes first, under any name the Dock already looks for (the .desktop icon, the app id, the id's last part), also for Apps, System Settings, Downloads and the Trash. The folder is read live (FolderListModel), the icons show with MacTahoe's icons off too, and Settings → Dock → "Your own icons" opens the folder (made if missing). No icons are shipped. Tested on a live shell (Steam from that folder, Dock and Alt+Tab); qml-check 710 files / 0 errors.

🤖 Generated with Claude Code

Alastor1991 and others added 2 commits November 1, 2026 17:00
Some of MacTahoe's icons don't suit the Dock: Steam's logo is drawn cut at the
tile's edge (its arm runs off the tile, the small circle is a crescent; all of
steam-icon, steam-launcher, steam-native, steampowered link to that one file),
and there was no way to put another one in its place short of editing the
downloaded theme, which a new download takes back.

~/.local/share/angelos/icons/dock/<name>.svg or .png now comes first, under
any name the Dock already looks for (the .desktop's icon, the app's id, the
id's last part); also for Apps, System Settings, Downloads and the Trash
(view-app-grid, preferences-system, folder-download, user-trash). The folder
is read live (FolderListModel): an icon put there shows at once. They show
with MacTahoe's icons off too. Settings → Dock → "Your own icons" opens the
folder (made if missing).

Checked on a live shell (Steam from that folder); qml-check: 710 files,
0 errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MixaDoDs

MixaDoDs commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Вошло в angelOS вместе с остальными PR этой пачки — main 0821398 (обновление 05.11). Спасибо! / Shipped in main 0821398 (the 05.11 update). Thanks!

@MixaDoDs MixaDoDs closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants