From a6049265a981107bd042701ca2097410a6eef682 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 1 Mar 2026 22:51:58 +0100 Subject: Add battop to waybar and hyprland --- roles/battop/meta/argument_specs.yml | 6 ++++++ roles/battop/meta/main.yml | 12 ++++++++++++ roles/battop/tasks/main.yml | 8 ++++++++ 3 files changed, 26 insertions(+) create mode 100644 roles/battop/meta/argument_specs.yml create mode 100644 roles/battop/meta/main.yml create mode 100644 roles/battop/tasks/main.yml (limited to 'roles/battop') 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" -- cgit v1.2.3