From 9b52db0aeefc01015ad0fa7264e24fad49d68886 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Fri, 1 Mar 2024 00:03:47 +0100 Subject: [PATCH] fix discord and spotify launch options --- hosts/default/home.nix | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/hosts/default/home.nix b/hosts/default/home.nix index f6ab646..d247b7b 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -32,10 +32,15 @@ mtr firefox - # (writeShellScriptBin "spotify" '' - # exec ${pkgs.spotify}/bin/spotify --enable-features=UseOzonePlatform --ozone-platform=wayland - # '') - spotify + (symlinkJoin { + name = "spotify"; + paths = [ + (writeShellScriptBin "spotify" '' + exec ${spotify}/bin/spotify --enable-features=UseOzonePlatform --ozone-platform=wayland + '') + spotify + ]; + }) hyprland dunst @@ -43,11 +48,18 @@ wl-clipboard dconf - - # (writeShellScriptBin "discord" '' - # exec ${discord}/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland - # '') - discord + (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 + ]; + }) kitty pipewire lsd