Add sway for linux.
This commit is contained in:
@@ -13,6 +13,7 @@ while true; do
|
||||
battery_percentage=$(apm -l)
|
||||
battery_status=$(apm -b)
|
||||
seconds_remaining=$(apm -t)
|
||||
# minutes remaining would be at sysctl hw.acpi.battery.time
|
||||
class=""
|
||||
|
||||
if [ $battery_status -eq 3 ]; then
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
name:
|
||||
- bc # For waybar sound script
|
||||
- upower # Needed for waybar battery script
|
||||
- waybar
|
||||
state: present
|
||||
|
||||
- name: Install scripts
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
group: "{{ group_name.stdout }}"
|
||||
loop:
|
||||
- ".config/waybar"
|
||||
- ".config/sway"
|
||||
- ".config/sway/config.d"
|
||||
|
||||
- name: Copy files
|
||||
copy:
|
||||
|
||||
Reference in New Issue
Block a user