summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/xstartup-track
diff options
context:
space:
mode:
Diffstat (limited to 'roles/obs/templates/xstartup-track')
-rwxr-xr-xroles/obs/templates/xstartup-track11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/obs/templates/xstartup-track b/roles/obs/templates/xstartup-track
new file mode 100755
index 0000000..140f836
--- /dev/null
+++ b/roles/obs/templates/xstartup-track
@@ -0,0 +1,11 @@
+#!/bin/bash
+export MPV_SOCKET={{ emacsconf_home }}/{{ item.id }}-mpv-socket
+export TRACK={{ item.id }}
+export PATH="/usr/local/bin:/usr/bin:/bin:{{ emacsconf_home }}/bin/{{ item.id }}"
+xrdb $HOME/.Xresources
+pulseaudio --start
+pacmd set-default-sink {{ item.id }}-qa
+firefox file://data/emacsconf/{{ emacsconf_year }}/index-{{ item.id }}.html -P "{{ emacsconf_id }}-{{ item.id }}" &
+# $HOME/{{ item.id }}-obs &
+# $HOME/{{ item.id }}-mpv $HOME/logo.png &
+exec i3