Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## Unreleased

- **Ready for Omarchy 4.6.0rc1.**
- polkit-omarchy 0.4.0 (was 0.3.0): 4.6 asks for encrypted drives'
passwords through the polkit agent (`omarchy.polkit unlockDrive`), which
0.3.0 lacks, so with it no encrypted drive unlocked. Its prompts also
follow 4.6's agent.
- omarchy-multiuser 0.15.0 (was 0.14.2): on 4.6, Update > Password stays
per person, and Factory Reset, Hostname and Snapshots are for
administrators.
- The bar's screensaver guard steps aside on 4.6, whose screensaver is
drawn natively and is no longer a window: the watcher isn't installed
there, and one already installed is removed.
- The fish port still follows Omarchy 4.5's bash files; on 4.6 the fish
play warns that several of them changed.

## 0.1.0 (2026-11-27)

The first release: Ansible automation that sets up a freshly installed
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ their own user phase; the system phase follows the administrator's.

## Prerequisites

- An Omarchy 4.5 desktop: the plays rely on its packages and commands.
- An Omarchy 4.5 desktop, or 4.6 from its first release candidate: the plays
rely on its packages and commands.
- `run0` (part of systemd, so already there on Arch) and, for the system
phase, a user in the `wheel` group. Other users need not be: their part is
the user phase only.
Expand Down
2 changes: 1 addition & 1 deletion docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ always applied.
| Vertical workspace switch animation | `hypr-vertical-workspaces` | modifies ~/.config/hypr/looknfeel.lua (switching workspaces scrolls vertically, slidevert, instead of snapping) | user | on | yes |
| Screen scale + text size | `text-size` | modifies the monitor scale (100%, the login screen's too), GDK_SCALE, the shell/terminal text size and the GNOME font sizes | system, user | on | no |
| Night light at sunset/sunrise | `nightlight-solar` | adds a timer that follows the real sunset/sunrise with hyprsunset | user | on | yes |
| Bar stays hidden under the screensaver | `screensaver-bar-guard` | adds a watcher to ~/.config/hypr/autostart.lua that re-applies the screensaver's fullscreen when the bar or dock remaps, so they don't show over it | user | on | yes |
| Bar stays hidden under the screensaver | `screensaver-bar-guard` | adds a watcher to ~/.config/hypr/autostart.lua that re-applies the screensaver's fullscreen when the bar or dock remaps, so they don't show over it (Omarchy 4.5; 4.6's native screensaver doesn't need it, and the watcher is removed there) | user | on | yes |
| Firefox follows the Omarchy theme | `omafox` | adds the Omafox add-on to Firefox's policies, its native messaging host and a theme-set hook; the add-on stays in the profile when reverted | system, user | on | yes |
| Caps Lock as Esc | `capslock` | modifies the keyboard options (Caps Lock = Esc, Shift+Caps Lock = Caps Lock, Compose on the Menu key instead of Shift+Caps Lock) | user | on | yes |
| Superwhisper hold-to-talk on the right Ctrl | `superwhisper-hold-key` | modifies Superwhisper's hold-to-talk key (RightAlt, which is AltGr on ABNT2 keyboards) to the right Ctrl | user | on | yes |
Expand Down
2 changes: 1 addition & 1 deletion features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ features:
- id: screensaver-bar-guard
group: desktop
title: Bar stays hidden under the screensaver
effect: adds a watcher to ~/.config/hypr/autostart.lua that re-applies the screensaver's fullscreen when the bar or dock remaps, so they don't show over it
effect: adds a watcher to ~/.config/hypr/autostart.lua that re-applies the screensaver's fullscreen when the bar or dock remaps, so they don't show over it (Omarchy 4.5; 4.6's native screensaver doesn't need it, and the watcher is removed there)
phases: [user]
default: true
revert: true
Expand Down
4 changes: 2 additions & 2 deletions group_vars/all/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ omaskpass_legacy_plugin_link: "{{ target_home }}/.config/omarchy/plugins/{{ omas
# Installed from a release tag of https://github.com/lbssousa/polkit-omarchy;
# bump the ref to deploy a new release.
polkit_agent_repo: https://github.com/lbssousa/polkit-omarchy.git
polkit_agent_ref: v0.3.0
polkit_agent_ref: v0.4.0
polkit_agent_checkout_dir: "{{ target_home }}/src/polkit-omarchy"
polkit_agent_verify_commit: false
polkit_agent_signing_keys: "{{ omapin_signing_keys }}"
Expand Down Expand Up @@ -631,7 +631,7 @@ shared_checkout_dir: /opt/omarchy-setup
# release. omarchy_multiuser_repo may also be a local checkout (with the tag in
# it) before the repository is published.
omarchy_multiuser_repo: https://github.com/lbssousa/omarchy-multiuser.git
omarchy_multiuser_ref: v0.14.2
omarchy_multiuser_ref: v0.15.0
omarchy_multiuser_checkout_dir: "{{ target_home }}/src/omarchy-multiuser"
omarchy_multiuser_verify_commit: false
omarchy_multiuser_signing_keys: "{{ omapin_signing_keys }}"
Expand Down
23 changes: 19 additions & 4 deletions playbooks/user/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@
# (~/.local/bin/screensaver-bar-guard, autostarted with Hyprland) re-applies
# the screensaver's fullscreen when that happens, which hides them again
# without taking focus (omarchy-screensaver exits when it loses focus).
# Omarchy 4.6 draws its screensaver natively, not as a window: there the
# watcher isn't installed, and one already there is removed.
- name: Keep the bar hidden under the screensaver
hosts: localhost
connection: local
Expand All @@ -365,10 +367,23 @@
vars:
feature_on: "{{ features['screensaver-bar-guard'] | default(true) }}"
guard_path: "{{ target_home }}/.local/bin/screensaver-bar-guard"
# Omarchy 4.6's screensaver is a native surface on every display, no
# longer a fullscreen window, so there is nothing for the watcher to
# re-apply: with it, the feature takes the watcher away.
guard_native_screensaver: /usr/lib/omarchy-screensaver/omarchy-screensaver

tasks:
- name: Check for Omarchy 4.6's native screensaver
ansible.builtin.stat:
path: "{{ guard_native_screensaver }}"
register: guard_native

- name: Decide whether the watcher is needed
ansible.builtin.set_fact:
guard_on: "{{ (feature_on | bool) and not guard_native.stat.exists }}"

- name: Install the watcher
when: feature_on | bool
when: guard_on | bool
block:
- name: Create ~/.local/bin
ansible.builtin.file:
Expand All @@ -382,17 +397,17 @@
dest: "{{ guard_path }}"
mode: "0755"

- name: "{{ 'Launch' if feature_on | bool else 'Stop launching' }} the watcher with Hyprland"
- name: "{{ 'Launch' if guard_on | bool else 'Stop launching' }} the watcher with Hyprland"
ansible.builtin.include_tasks: tasks/hypr-user-block.yml
vars:
hypr_file: autostart.lua
hypr_marker: playbooks/user/desktop.yml — screensaver bar guard
hypr_state: "{{ 'present' if feature_on | bool else 'absent' }}"
hypr_state: "{{ 'present' if guard_on | bool else 'absent' }}"
hypr_block: |
o.launch_on_start("screensaver-bar-guard")

- name: Remove the watcher
when: not feature_on | bool
when: not guard_on | bool
block:
- name: Stop the running watcher
ansible.builtin.command: pkill -f '/\.local/bin/screensaver-bar-guard$'
Expand Down