summaryrefslogtreecommitdiffstats
path: root/roles/battop
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-03-01 22:51:58 +0100
committerAhmed Abdelhalim <[email protected]>2026-03-01 22:51:58 +0100
commita6049265a981107bd042701ca2097410a6eef682 (patch)
tree42c1623848ca41510e65ae941eca52ab527fbf11 /roles/battop
parentf5ef39e0c36a6c360c32d0c5c0f09cc64fb7fbda (diff)
Add battop to waybar and hyprland
Diffstat (limited to 'roles/battop')
-rw-r--r--roles/battop/meta/argument_specs.yml6
-rw-r--r--roles/battop/meta/main.yml12
-rw-r--r--roles/battop/tasks/main.yml8
3 files changed, 26 insertions, 0 deletions
diff --git a/roles/battop/meta/argument_specs.yml b/roles/battop/meta/argument_specs.yml
new file mode 100644
index 00000000..0bcf6024
--- /dev/null
+++ b/roles/battop/meta/argument_specs.yml
@@ -0,0 +1,6 @@
+---
+argument_specs:
+ main:
+ short_description: "Install battop"
+ description: "Install battop"
+ options: {}
diff --git a/roles/battop/meta/main.yml b/roles/battop/meta/main.yml
new file mode 100644
index 00000000..c6bdeea3
--- /dev/null
+++ b/roles/battop/meta/main.yml
@@ -0,0 +1,12 @@
+---
+dependencies:
+ - role: "yay"
+galaxy_info:
+ author: "a14m"
+ description: "Install battop"
+ license: "MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: "ArchLinux"
+ versions:
+ - "all"
diff --git a/roles/battop/tasks/main.yml b/roles/battop/tasks/main.yml
new file mode 100644
index 00000000..95fcb84b
--- /dev/null
+++ b/roles/battop/tasks/main.yml
@@ -0,0 +1,8 @@
+---
+- name: "Ensure battop is installed"
+ become: true
+ become_user: "aur_builder"
+ kewlfft.aur.aur:
+ name: "battop"
+ state: "present"
+ use: "yay"