move the launch scripts of discord and spotify

This commit is contained in:
Noa Aarts 2024-03-01 16:34:21 +01:00
parent 1d13143751
commit 9896e01617
3 changed files with 35 additions and 21 deletions

View file

@ -8,6 +8,8 @@
../../common/hyprland.nix
../../common/git.nix
../../common/nvim/nvim.nix
../../common/discord.nix
../../common/spotify.nix
];
# Home Manager needs a bit of information about you and the paths it should
# manage.
@ -36,30 +38,9 @@
mtr
firefox
(symlinkJoin {
name = "spotify";
paths = [
(writeShellScriptBin "spotify" ''
exec ${spotify}/bin/spotify --enable-features=UseOzonePlatform --ozone-platform=wayland
'')
spotify
];
})
dconf
(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
];
})
pipewire
lsd