Add Glance application to Hyprland binds and XDG desktop entries
This commit is contained in:
@@ -42,6 +42,7 @@ in
|
|||||||
# APLIKACJE - Z ALT I CONTROL
|
# APLIKACJE - Z ALT I CONTROL
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
"$modifier ALT, B, exec, btop"
|
"$modifier ALT, B, exec, btop"
|
||||||
|
"$modifier ALT, G, exec, dex ${desktopEntriesPath}/glance.desktop"
|
||||||
"$modifier ALT, M, exec, dex ${desktopEntriesPath}/mastodon.desktop"
|
"$modifier ALT, M, exec, dex ${desktopEntriesPath}/mastodon.desktop"
|
||||||
"$modifier ALT, S, exec, slack"
|
"$modifier ALT, S, exec, slack"
|
||||||
"$modifier CONTROL, M, exec, mattermost-desktop"
|
"$modifier CONTROL, M, exec, mattermost-desktop"
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ let
|
|||||||
url = "https://registry.npmmirror.com/@lobehub/icons-static-png/1.65.0/files/dark/claude-color.png";
|
url = "https://registry.npmmirror.com/@lobehub/icons-static-png/1.65.0/files/dark/claude-color.png";
|
||||||
sha256 = "sha256-wmYmbmT2/bR4JrnZJu2stjRZm//O5TB9EPE2NQWdGkQ=";
|
sha256 = "sha256-wmYmbmT2/bR4JrnZJu2stjRZm//O5TB9EPE2NQWdGkQ=";
|
||||||
};
|
};
|
||||||
|
glanceIcon = pkgs.fetchurl {
|
||||||
|
url = "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/glance.png";
|
||||||
|
sha256 = "sha256-xyFlmPpt+DABoGX5oBqj/aQVdxtmNflat9Jb2BE7SOY=";
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
xdg = {
|
xdg = {
|
||||||
@@ -72,6 +76,14 @@ in
|
|||||||
terminal = false;
|
terminal = false;
|
||||||
type = "Application";
|
type = "Application";
|
||||||
};
|
};
|
||||||
|
"glance" = {
|
||||||
|
name = "Glance";
|
||||||
|
genericName = "Glance";
|
||||||
|
exec = "chromium --profile-directory=Default --app=https://glance.garandplg.com/";
|
||||||
|
icon = "${glanceIcon}";
|
||||||
|
terminal = false;
|
||||||
|
type = "Application";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user