From 3a0868feb48fbe004942ed84bf7bea000428de82 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Mon, 15 Jul 2024 01:20:39 +0200 Subject: implement turnstile-style services --- .config/sway/config | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) (limited to '.config/sway') diff --git a/.config/sway/config b/.config/sway/config index fcfad93..ac82b2f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -322,33 +322,15 @@ input "type:touchpad" { output $laptop_screen enable exec_always ${XDG_CONFIG_HOME:-~/.config}/sway/clamshell.sh -exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK -exec dunst -exec nm-applet --indicator -exec blueman-applet -exec thunar --daemon -exec pipewire -exec pipewire-pulse -exec wireplumber -exec gentoo-pipewire-launcher -exec foot --server +exec_always echo $WAYLAND_DISPLAY > $HOME/.config/service-env/WAYLAND_DISPLAY +exec_always echo $DISPLAY > $HOME/.config/service-env/DISPLAY +exec_always echo $SWAYSOCK > $HOME/.config/service-env/SWAYSOCK +# TODO: How do I use this? exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec hash dbus-update-activation-environment 2>/dev/null && \ dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK -exec pactl load-module module-null-sink media.class=Audio/Sink sink_name=my-sink channel_map=surround-51 -exec pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name="my-source" channel_map=front-left,front-right -exec pactl load-module module-null-sink media.class=Audio/Duplex sink_name="Main thing" audio.position=FL,FR,RL,RR - -exec export SDL_VIDEODRIVER=wayland -exec export _JAVA_AWT_WM_NONREPARENTING=1 -exec export QT_QPA_PLATFORM=wayland -exec export XDG_CURRENT_DESKTOP=sway -exec export XDG_SESSION_DESKTOP=sway -exec "swaysome init 1" -exec "swayrd" - include /etc/sway/config.d/* -- cgit v1.2.3