Add sway for linux.

This commit is contained in:
Tom Alexander
2023-02-01 23:14:20 -05:00
parent 8bd1c8f79e
commit a808f81e27
12 changed files with 96 additions and 35 deletions

View File

@@ -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

View File

@@ -3,6 +3,7 @@
name:
- bc # For waybar sound script
- upower # Needed for waybar battery script
- waybar
state: present
- name: Install scripts

View File

@@ -10,6 +10,8 @@
group: "{{ group_name.stdout }}"
loop:
- ".config/waybar"
- ".config/sway"
- ".config/sway/config.d"
- name: Copy files
copy: