diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-10 00:05:36 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-10 00:05:36 +0100 |
| commit | 19cdd8824e31018794c48b6b98803ce322642500 (patch) | |
| tree | bb8e758dc6eb60d5d79a2e06e1d1be20826a8e14 /roles/mako | |
| parent | e93dec56bbe5c1b94cd5b35ee07e3807c5ba0433 (diff) | |
Configure mako to use the hyprtheme
Diffstat (limited to 'roles/mako')
| -rw-r--r-- | roles/mako/handlers/main.yml | 5 | ||||
| -rw-r--r-- | roles/mako/tasks/main.yml | 4 | ||||
| -rw-r--r-- | roles/mako/templates/mako/config.j2 | 9 |
3 files changed, 10 insertions, 8 deletions
diff --git a/roles/mako/handlers/main.yml b/roles/mako/handlers/main.yml new file mode 100644 index 00000000..aba42db0 --- /dev/null +++ b/roles/mako/handlers/main.yml @@ -0,0 +1,5 @@ +--- +- name: "Reload mako" + ansible.builtin.command: + cmd: "makoctl reload" + changed_when: false diff --git a/roles/mako/tasks/main.yml b/roles/mako/tasks/main.yml index 97b4447a..08c91cf0 100644 --- a/roles/mako/tasks/main.yml +++ b/roles/mako/tasks/main.yml @@ -32,5 +32,9 @@ append_newline: true marker: "# ==== {mark} ANSIBLE MAKO CONFIG" block: | + # Include Theme colors (must come first) + include={{ ansible_facts['env']['HOME'] }}/.config/hyprtheme/current/mako.ini # System defaults include=/etc/xdg/mako/config + notify: + - "Reload mako" diff --git a/roles/mako/templates/mako/config.j2 b/roles/mako/templates/mako/config.j2 index 62c21654..0e73e81d 100644 --- a/roles/mako/templates/mako/config.j2 +++ b/roles/mako/templates/mako/config.j2 @@ -1,11 +1,10 @@ sort=-time layer=overlay -background-color=#2E3440 width=300 height=110 border-size=2 -border-color=#F1C40F border-radius=5 +padding=10,15 icons=1 max-icon-size=32 default-timeout=5000 @@ -20,12 +19,6 @@ invisible=true [mode=do-not-disturb app-name=notify-send] invisible=false -# [urgency=low] -# border-color=#41CFFF - -# [urgency=normal] -# border-color=#41CFFF - [urgency=critical] border-color=#E74C3C default-timeout=0 |
