diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-30 10:06:47 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-30 10:06:47 -0400 |
commit | b8c97d14ed81871eef51ba7253982c45258ec538 (patch) | |
tree | b9e6252349df072aca9b6ff66ca0cf000f7c9cc2 /roles/obs/templates/xstartup | |
parent | a1e9bd2ba2cabd37a298c4ed951dfe2344bd750f (diff) | |
download | emacsconf-ansible-b8c97d14ed81871eef51ba7253982c45258ec538.tar.xz emacsconf-ansible-b8c97d14ed81871eef51ba7253982c45258ec538.zip |
Add obs role
Diffstat (limited to '')
-rwxr-xr-x | roles/obs/templates/xstartup | 3 | ||||
-rwxr-xr-x | roles/obs/templates/xstartup-track | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/roles/obs/templates/xstartup b/roles/obs/templates/xstartup new file mode 100755 index 0000000..bc5c70f --- /dev/null +++ b/roles/obs/templates/xstartup @@ -0,0 +1,3 @@ +#!/bin/bash +xrdb $HOME/.Xresources +exec startxfce4
\ No newline at end of file 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 |