home: Add vesktop desktop shortcut

it was supposed to have NIXOS_OZONE_WL=1 but apparently that's still
broken
This commit is contained in:
NullBite 2024-03-19 00:00:26 -04:00
parent 9411c82da4
commit 0c58a9ea1b
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

@ -11,6 +11,21 @@ in
enable = lib.mkEnableOption "communication package set";
};
config = lib.mkIf cfg.enable {
xdg.desktopEntries.vesktop = lib.mkIf config.nixfiles.meta.graphical {
categories= ["Network" "InstantMessaging" "Chat"];
# exec="env NIXOS_OZONE_WL=1 vesktop %U";
exec="vesktop %U";
genericName="Internet Messenger";
icon="vesktop";
name="Vesktop";
type="Application";
settings = {
StartupWMClass="Vesktop";
Keywords="discord;vencord;electron;chat";
};
};
home.packages = with pkgs; lib.optionals config.nixfiles.meta.graphical [
element-desktop
telegram-desktop