refactor: create a separate role for waybar
This commit is contained in:
parent
efc7bee90b
commit
972c587d1a
7 changed files with 3 additions and 4 deletions
|
@ -3,3 +3,4 @@
|
||||||
roles:
|
roles:
|
||||||
- desktop
|
- desktop
|
||||||
- sway
|
- sway
|
||||||
|
- waybar
|
||||||
|
|
|
@ -1,4 +1,2 @@
|
||||||
- name: Restart waybar
|
|
||||||
shell: "killall waybar && waybar &"
|
|
||||||
- name: Kill dunst
|
- name: Kill dunst
|
||||||
shell: "killall dunst"
|
shell: "killall dunst"
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
- name: Waybar
|
|
||||||
import_tasks: waybar.yml
|
|
||||||
- name: Wofi
|
- name: Wofi
|
||||||
import_tasks: wofi.yml
|
import_tasks: wofi.yml
|
||||||
- name: Dunst
|
- name: Dunst
|
||||||
|
|
2
roles/waybar/handlers/main.yml
Normal file
2
roles/waybar/handlers/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
- name: Restart waybar
|
||||||
|
shell: "killall waybar && waybar &"
|
Loading…
Reference in a new issue