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:
parent
9411c82da4
commit
0c58a9ea1b
@ -11,6 +11,21 @@ in
|
|||||||
enable = lib.mkEnableOption "communication package set";
|
enable = lib.mkEnableOption "communication package set";
|
||||||
};
|
};
|
||||||
config = lib.mkIf cfg.enable {
|
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 [
|
home.packages = with pkgs; lib.optionals config.nixfiles.meta.graphical [
|
||||||
element-desktop
|
element-desktop
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user