diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-12-22 22:50:35 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-12-22 22:50:35 +0100 |
| commit | 3d5b8caa4d4880c5308807baaf4ae04456403d13 (patch) | |
| tree | 3186bd157bd09c283eb46733ed8a90493f42da4f /roles/hyprland/templates | |
| parent | 17c0029c69290af0c0f74912cb5eb196b37b322c (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/hyprland/templates')
| -rw-r--r-- | roles/hyprland/templates/hyprland-custom.desktop.j2 | 6 | ||||
| -rw-r--r-- | roles/hyprland/templates/hyprland/autostart.conf.j2 | 1 | ||||
| -rw-r--r-- | roles/hyprland/templates/hyprland/hyprland.conf.j2 | 4 |
3 files changed, 2 insertions, 9 deletions
diff --git a/roles/hyprland/templates/hyprland-custom.desktop.j2 b/roles/hyprland/templates/hyprland-custom.desktop.j2 deleted file mode 100644 index 57975bf0..00000000 --- a/roles/hyprland/templates/hyprland-custom.desktop.j2 +++ /dev/null @@ -1,6 +0,0 @@ -[Desktop Entry] -Name=Hyprland (Custom Config) -Comment=An intelligent dynamic tiling Wayland compositor with system config -Exec=env HYPRLAND_CONFIG=/etc/hypr/hyprland.conf Hyprland -Type=Application -DesktopNames=Hyprland diff --git a/roles/hyprland/templates/hyprland/autostart.conf.j2 b/roles/hyprland/templates/hyprland/autostart.conf.j2 new file mode 100644 index 00000000..f0cd7213 --- /dev/null +++ b/roles/hyprland/templates/hyprland/autostart.conf.j2 @@ -0,0 +1 @@ +exec-once = uwsm-app -- mako diff --git a/roles/hyprland/templates/hyprland/hyprland.conf.j2 b/roles/hyprland/templates/hyprland/hyprland.conf.j2 index 790e496d..3e2c08a3 100644 --- a/roles/hyprland/templates/hyprland/hyprland.conf.j2 +++ b/roles/hyprland/templates/hyprland/hyprland.conf.j2 @@ -2,11 +2,9 @@ # Inspired by omarchy setup # Use default configuration files +source = /etc/hypr/autostart.conf source = /etc/hypr/monitors.conf source = /etc/hypr/input.conf source = /etc/hypr/bindings.conf source = /etc/hypr/envs.conf source = /etc/hypr/looknfeel.conf - -# Load user configuration -source = ~/.config/hypr/hyprland.conf |
