mirror of
https://git.srhtnin.garden/sarah/SaraSuite.git
synced 2026-10-13 18:18:12 +02:00
Per-program window app IDs so the dock matches desktop entries
This commit is contained in:
1 parent
f17e29705f
commit
19bbad33a4
8 files changed
+17
-1
No files matched your search
@@ -1,4 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Written by SaraSuite. Runs from the app folder so Flet finds assets/.
|
||||
# The window's app ID, so the desktop matches it to {Name}.desktop (icon, name)
|
||||
# instead of showing every Flet program as "com.appveyor.flet".
|
||||
export FLET_APP_ID="{Name}"
|
||||
cd "{AppDir}" || exit 1
|
||||
exec "{Python}" Main.py "$@"
|
||||
@@ -8,3 +8,4 @@ Terminal=false
|
||||
Categories=System;FileManager;
|
||||
MimeType=inode/directory;
|
||||
StartupNotify=true
|
||||
StartupWMClass={Name}
|
||||
@@ -1,4 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Written by SaraSuite. Runs from the app folder so Flet finds assets/.
|
||||
# The window's app ID, so the desktop matches it to {Name}.desktop (icon, name)
|
||||
# instead of showing every Flet program as "com.appveyor.flet".
|
||||
export FLET_APP_ID="{Name}"
|
||||
cd "{AppDir}" || exit 1
|
||||
exec "{Python}" Main.py "$@"
|
||||
@@ -7,3 +7,4 @@ Icon={AppDir}/assets/Icon.png
|
||||
Terminal=false
|
||||
Categories=Utility;
|
||||
StartupNotify=true
|
||||
StartupWMClass={Name}
|
||||
@@ -1,4 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Written by SaraSuite. Runs from the app folder so Flet finds assets/.
|
||||
# The window's app ID, so the desktop matches it to {Name}.desktop (icon, name)
|
||||
# instead of showing every Flet program as "com.appveyor.flet".
|
||||
export FLET_APP_ID="{Name}"
|
||||
cd "{AppDir}" || exit 1
|
||||
exec "{Python}" Main.py "$@"
|
||||
@@ -7,3 +7,4 @@ Icon={AppDir}/assets/Icon.png
|
||||
Terminal=false
|
||||
Categories=Utility;Graphics;
|
||||
StartupNotify=true
|
||||
StartupWMClass={Name}
|
||||
Reference in new issue
Block a user