summaryrefslogtreecommitdiffstats
path: root/roles/mako/tasks
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-12-22 22:50:35 +0100
committerAhmed AbdelHalim <[email protected]>2025-12-22 22:50:35 +0100
commitf2a2fe15bee53600e7eeb7ac23896f9cedf02b5c (patch)
tree3186bd157bd09c283eb46733ed8a90493f42da4f /roles/mako/tasks
parente2c1a1b1800cee42eef57647ed206de8c6d39014 (diff)
Refactor hyprland/mako
This follows a more clean setup (inspired by omarchy) with the difference that the user files are delegated to the user dotfile (and are calling the system defaults first). This is to insure clarity and don't depend on hidden behaviour in the default system configurations
Diffstat (limited to 'roles/mako/tasks')
-rw-r--r--roles/mako/tasks/main.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/mako/tasks/main.yml b/roles/mako/tasks/main.yml
new file mode 100644
index 00000000..3303969f
--- /dev/null
+++ b/roles/mako/tasks/main.yml
@@ -0,0 +1,22 @@
+---
+- name: "Ensure mako is installed"
+ become: true
+ ansible.builtin.package:
+ name:
+ - "libnotify"
+ - "mako"
+ state: "present"
+
+- name: "Create system config directory"
+ become: true
+ ansible.builtin.file:
+ path: "/etc/xdg/mako"
+ state: "directory"
+ mode: "0755"
+
+- name: "Configure system defaults"
+ become: true
+ ansible.builtin.template:
+ src: "mako/config.j2"
+ dest: "/etc/xdg/mako/config"
+ mode: "0644"