mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
reformat yaml
This commit is contained in:
parent
2919b200f8
commit
69d317788c
2 changed files with 24 additions and 10 deletions
|
|
@ -9,7 +9,9 @@
|
|||
state: present
|
||||
|
||||
- name: Install py3status
|
||||
pacman: name=py3status state=present
|
||||
pacman:
|
||||
name: py3status
|
||||
state: present
|
||||
|
||||
- name: Verify that default applications file exists
|
||||
copy:
|
||||
|
|
@ -18,9 +20,10 @@
|
|||
force: false
|
||||
|
||||
- name: Verify header in default applications file
|
||||
lineinfile: dest=/etc/xdg/mimeapps.list
|
||||
state=present
|
||||
line='[Default Applications]'
|
||||
insertbefore=BOF
|
||||
lineinfile:
|
||||
dest: /etc/xdg/mimeapps.list
|
||||
state: present
|
||||
line: '[Default Applications]'
|
||||
insertbefore: BOF
|
||||
|
||||
- include_tasks: rofi.yml
|
||||
|
|
|
|||
|
|
@ -1,17 +1,28 @@
|
|||
---
|
||||
- name: Install xautolock
|
||||
pacman: name=xautolock state=present
|
||||
pacman:
|
||||
name: xautolock
|
||||
state: present
|
||||
|
||||
- name: Install i3lock
|
||||
pacman: name=i3lock state=present
|
||||
pacman:
|
||||
name: i3lock
|
||||
state: present
|
||||
|
||||
- name: Push lock script
|
||||
copy: src=lock.sh dest=/usr/local/bin/lock mode=0755
|
||||
copy:
|
||||
src: lock.sh
|
||||
dest: /usr/local/bin/lock
|
||||
mode: 0755
|
||||
|
||||
- name: Push screen lock service file
|
||||
copy: src=screenlock.service dest=/etc/systemd/system/screenlock@.service
|
||||
copy:
|
||||
src: screenlock.service
|
||||
dest: /etc/systemd/system/screenlock@.service
|
||||
notify:
|
||||
- reload systemd config
|
||||
|
||||
- name: Enable screen lock service
|
||||
service: name="screenlock@{{ user.name }}.service" enabled=yes
|
||||
service:
|
||||
name: screenlock@{{ user.name }}.service"
|
||||
enabled: yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue