mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-27 16:59:09 +02:00
fix: telegram - for niri to recognize the app ID(WIP)
This commit is contained in:
@@ -99,10 +99,10 @@ buildEnv {
|
|||||||
genericName = "Firefox Boxed";
|
genericName = "Firefox Boxed";
|
||||||
comment = "Firefox Browser";
|
comment = "Firefox Browser";
|
||||||
exec = "${exePath} %U";
|
exec = "${exePath} %U";
|
||||||
|
terminal = false;
|
||||||
icon = "firefox";
|
icon = "firefox";
|
||||||
startupNotify = true;
|
startupNotify = true;
|
||||||
startupWMClass = "firefox";
|
startupWMClass = "firefox";
|
||||||
terminal = false;
|
|
||||||
type = "Application";
|
type = "Application";
|
||||||
categories = [
|
categories = [
|
||||||
"Network"
|
"Network"
|
||||||
|
|||||||
@@ -74,9 +74,9 @@ buildEnv {
|
|||||||
genericName = "QQ Boxed";
|
genericName = "QQ Boxed";
|
||||||
comment = "Tencent QQ, also known as QQ, is an instant messaging software service and web portal developed by the Chinese technology company Tencent.";
|
comment = "Tencent QQ, also known as QQ, is an instant messaging software service and web portal developed by the Chinese technology company Tencent.";
|
||||||
exec = "${exePath} %U";
|
exec = "${exePath} %U";
|
||||||
startupNotify = true;
|
|
||||||
terminal = false;
|
terminal = false;
|
||||||
icon = "${qq}/share/icons/hicolor/512x512/apps/qq.png";
|
icon = "${qq}/share/icons/hicolor/512x512/apps/qq.png";
|
||||||
|
startupNotify = true;
|
||||||
startupWMClass = "QQ";
|
startupWMClass = "QQ";
|
||||||
type = "Application";
|
type = "Application";
|
||||||
categories = [
|
categories = [
|
||||||
|
|||||||
@@ -62,6 +62,8 @@ buildEnv {
|
|||||||
tryExec = "${exePath}";
|
tryExec = "${exePath}";
|
||||||
exec = "${exePath} -- %u";
|
exec = "${exePath} -- %u";
|
||||||
icon = appId;
|
icon = appId;
|
||||||
|
startupNotify = true;
|
||||||
|
startupWMClass = appId;
|
||||||
terminal = false;
|
terminal = false;
|
||||||
type = "Application";
|
type = "Application";
|
||||||
categories = [
|
categories = [
|
||||||
@@ -83,8 +85,19 @@ buildEnv {
|
|||||||
"sms"
|
"sms"
|
||||||
"tdesktop"
|
"tdesktop"
|
||||||
];
|
];
|
||||||
|
actions = {
|
||||||
|
quit = {
|
||||||
|
name = "Quit Telegram";
|
||||||
|
exec = "${exePath} -quit";
|
||||||
|
icon = "application-exit";
|
||||||
|
};
|
||||||
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
X-Flatpak = appId;
|
X-Flatpak = appId;
|
||||||
|
DBusActivatable = "true";
|
||||||
|
SingleMainWindow = "true";
|
||||||
|
X-GNOME-UsesNotifications = "true";
|
||||||
|
X-GNOME-SingleWindow = "true";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user