move the launch scripts of discord and spotify
This commit is contained in:
parent
1d13143751
commit
9896e01617
3 changed files with 35 additions and 21 deletions
18
common/discord.nix
Normal file
18
common/discord.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
(symlinkJoin {
|
||||
name = "discord";
|
||||
paths = [
|
||||
(writeShellScriptBin "discord" ''
|
||||
exec ${discord}/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
'')
|
||||
(writeShellScriptBin "Discord" ''
|
||||
exec ${discord}/bin/Discord --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
'')
|
||||
discord
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue