Move waybar into its own role that sway depends on.
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
- name: Install packages
|
||||
package:
|
||||
name:
|
||||
- bc # For waybar sound script
|
||||
- upower # Needed for waybar battery script
|
||||
state: present
|
||||
|
||||
- name: Install scripts
|
||||
copy:
|
||||
src: "files/{{ item.src }}"
|
||||
@@ -16,17 +9,3 @@
|
||||
- src: launch_sway_linux.bash
|
||||
dest: /usr/local/bin/launch_sway
|
||||
|
||||
- name: Install scripts
|
||||
copy:
|
||||
src: "files/waybar_scripts/{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: wheel
|
||||
loop:
|
||||
- src: waybar_battery_linux.bash
|
||||
dest: /usr/local/bin/waybar_custom_battery
|
||||
- src: waybar_available_memory_linux.bash
|
||||
dest: /usr/local/bin/waybar_custom_available_memory
|
||||
- src: waybar_sound_linux.bash
|
||||
dest: /usr/local/bin/waybar_custom_sound
|
||||
|
||||
Reference in New Issue
Block a user