update to use vesktop instead

This commit is contained in:
Noa Aarts 2024-03-03 19:23:00 +01:00
parent 51582360ad
commit 6443bb3477
4 changed files with 34 additions and 15 deletions

View file

@ -1,14 +0,0 @@
{ config, pkgs, inputs, ... }:
{
home.packages = with pkgs; [
(symlinkJoin {
name = "discord";
paths = [
(writeShellScriptBin "discord" ''${discord}/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland'')
(writeShellScriptBin "Discord" ''${discord}/bin/Discord --enable-features=UseOzonePlatform --ozone-platform=wayland'')
discord
];
})
];
}

View file

@ -0,0 +1,22 @@
{ config, pkgs, inputs, ... }:
{
home.packages = with pkgs; [
# (symlinkJoin {
# name = "discord";
# paths = [
# (writeShellScriptBin "discord" ''${discord}/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland'')
# (writeShellScriptBin "Discord" ''${discord}/bin/Discord --enable-features=UseOzonePlatform --ozone-platform=wayland'')
# discord
# ];
# })
(symlinkJoin {
name = "vesktop";
paths = [
(writeShellScriptBin "vesktop" ''${vesktop}/bin/vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland'')
(writeShellScriptBin "Vesktop" ''${vesktop}/bin/Vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland'')
vesktop
];
})
];
}

View file

@ -0,0 +1,11 @@
{
"SKIP_HOST_UPDATE": true,
"IS_MAXIMIZED": true,
"IS_MINIMIZED": false,
"WINDOW_BOUNDS": {
"x": 320,
"y": 180,
"width": 1280,
"height": 720
}
}