summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-08-05 11:05:12 +0530
committersinanmohd <sinan@firemail.cc>2023-08-05 11:40:27 +0530
commit250f2ec5c537e72d9d7ba14db294d07115e74ff0 (patch)
tree1f14ad379505009090e906659909afc1855bbdff
parent488071a8da65e8f5a10e5f41321e3303cbb12b08 (diff)
wayland: get rid of xdp, it's disabled by default on my nixos
-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 &