From 66d3b6d136c4a04dcd988302db91263de36331b1 Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Fri, 2 Oct 2026 09:57:53 -0400 Subject: [PATCH] migrate main Hyprland config to new Lua format --- dot_config/hypr/hyprland.conf | 22 ---------------------- dot_config/hypr/hyprland.lua | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 22 deletions(-) delete mode 100644 dot_config/hypr/hyprland.conf create mode 100644 dot_config/hypr/hyprland.lua diff --git a/dot_config/hypr/hyprland.conf b/dot_config/hypr/hyprland.conf deleted file mode 100644 index c0df23a..0000000 --- a/dot_config/hypr/hyprland.conf +++ /dev/null @@ -1,22 +0,0 @@ -# Learn how to configure Hyprland: https://wiki.hyprland.org/Configuring/ - -# Use defaults Omarchy defaults (but don't edit these directly!) -source = ~/.local/share/omarchy/default/hypr/autostart.conf -source = ~/.local/share/omarchy/default/hypr/bindings/media.conf -source = ~/.local/share/omarchy/default/hypr/bindings/tiling.conf -source = ~/.local/share/omarchy/default/hypr/bindings/utilities.conf -source = ~/.local/share/omarchy/default/hypr/envs.conf -source = ~/.local/share/omarchy/default/hypr/looknfeel.conf -source = ~/.local/share/omarchy/default/hypr/input.conf -source = ~/.local/share/omarchy/default/hypr/windows.conf -source = ~/.config/omarchy/current/theme/hyprland.conf - -# Change your own setup in these files (and overwrite any settings from defaults!) -source = ~/.config/hypr/monitors.conf -source = ~/.config/hypr/input.conf -source = ~/.config/hypr/bindings.conf -source = ~/.config/hypr/envs.conf -source = ~/.config/hypr/looknfeel.conf -source = ~/.config/hypr/autostart.conf -source = ~/.config/hypr/windows.conf - diff --git a/dot_config/hypr/hyprland.lua b/dot_config/hypr/hyprland.lua new file mode 100644 index 0000000..e3af399 --- /dev/null +++ b/dot_config/hypr/hyprland.lua @@ -0,0 +1,30 @@ +-- Learn how to configure Hyprland: https://wiki.hypr.land/Configuring/Start/ + +-- Omarchy's bootstrap keeps path setup out of this user config. +dofile((os.getenv("OMARCHY_PATH") or "/usr/share/omarchy") .. "/default/hypr/bootstrap.lua") + +-- Disable all Omarchy default bindings. Add your own in hypr/bindings.lua. +-- omarchy_default_bindings = false +-- +-- Or disable only bindings for Omarchy's preinstalled apps/web apps while +-- keeping core window-manager bindings: +-- omarchy_preinstalled_bindings = false + +-- Load Omarchy defaults. +require("default.hypr.omarchy") + +-- Put your personal overrides in these files. They're loaded after Omarchy's +-- defaults so package updates can improve the defaults without rewriting your +-- ~/.config/hypr files. +require("hypr.monitors") +require("hypr.input") +require("hypr.bindings") +require("hypr.looknfeel") +require("hypr.autostart") +require("hypr.windows") + +-- Toggle config flags dynamically. +require("default.hypr.toggles") + +-- Add any other personal Hyprland configuration below. +-- o.window("qemu", { workspace = "5" })