summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.config/wayland/winit9
1 files changed, 2 insertions, 7 deletions
diff --git a/.config/wayland/winit b/.config/wayland/winit
index 4f21db2..166d98b 100755
--- a/.config/wayland/winit
+++ b/.config/wayland/winit
@@ -1,12 +1,7 @@
#!/bin/sh
-# audio and xdp
-if command -v systemctl > /dev/null; then
- # https://git.sinanmohd.com/nixos/tree/features/wayland.nix
- dbus-xdp-enviroment &
-else
- xdg-desktop-portal &
- xdg-desktop-portal-wlr &
+# audio
+if ! command -v systemctl > /dev/null; then
pipewire &
pipewire-pulse &
sleep 1 && wireplumber &