fix: telegram - for niri to recognize the app ID(WIP)

This commit is contained in:
Ryan Yin
2025-09-19 22:41:40 +08:00
parent 6a74052413
commit 9509c15ac3
3 changed files with 15 additions and 2 deletions
+13
View File
@@ -62,6 +62,8 @@ buildEnv {
tryExec = "${exePath}";
exec = "${exePath} -- %u";
icon = appId;
startupNotify = true;
startupWMClass = appId;
terminal = false;
type = "Application";
categories = [
@@ -83,8 +85,19 @@ buildEnv {
"sms"
"tdesktop"
];
actions = {
quit = {
name = "Quit Telegram";
exec = "${exePath} -quit";
icon = "application-exit";
};
};
extraConfig = {
X-Flatpak = appId;
DBusActivatable = "true";
SingleMainWindow = "true";
X-GNOME-UsesNotifications = "true";
X-GNOME-SingleWindow = "true";
};
})
];