Add a linux launch_sway script.
This commit is contained in:
parent
a159518c42
commit
f0b917cba9
8
ansible/roles/sway/files/launch_sway_linux.bash
Normal file
8
ansible/roles/sway/files/launch_sway_linux.bash
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Launch sway
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
sway |& tee $HOME/.config/swaylog
|
@ -44,5 +44,5 @@
|
||||
owner: root
|
||||
group: wheel
|
||||
loop:
|
||||
- src: launch_sway.bash
|
||||
- src: launch_sway_freebsd.bash
|
||||
dest: /usr/local/bin/launch_sway
|
||||
|
@ -4,3 +4,14 @@
|
||||
# - foo
|
||||
# state: present
|
||||
# update_cache: true
|
||||
|
||||
- name: Install scripts
|
||||
copy:
|
||||
src: "files/{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: wheel
|
||||
loop:
|
||||
- src: launch_sway_linux.bash
|
||||
dest: /usr/local/bin/launch_sway
|
||||
|
Loading…
x
Reference in New Issue
Block a user