move to example file for custom config

This commit is contained in:
2026-10-14 17:40:23 +02:00
parent d825277ed5
commit e96d604ac8
7 changed files with 5 additions and 38 deletions
-1
View File
@@ -1,5 +1,4 @@
-- Machine-specific environment variables. Loaded after hyprland/environments.lua. -- Machine-specific environment variables. Loaded after hyprland/environments.lua.
-- Usage: cp environments.example environments.lua (environments.lua is ignored by git)
-- https://wiki.hypr.land/Configuring/Environment-variables/ -- https://wiki.hypr.land/Configuring/Environment-variables/
-- hl.env("XCURSOR_SIZE", "24") -- hl.env("XCURSOR_SIZE", "24")
+1 -3
View File
@@ -1,6 +1,4 @@
-- Machine-specific input config (kb_layout, per-device, gestures). Loaded after hyprland/inputs.lua. -- Machine-specific input config (kb_layout, per-device, gestures).
-- Usage: cp inputs.example inputs.lua (inputs.lua is ignored by git)
-- List your devices with: hyprctl devices
-- https://wiki.hypr.land/Configuring/Variables/#input -- https://wiki.hypr.land/Configuring/Variables/#input
-- hl.device({ name = "my-mouse-name", sensitivity = -0.5 }) -- hl.device({ name = "my-mouse-name", sensitivity = -0.5 })
+1 -2
View File
@@ -1,5 +1,4 @@
-- Machine-specific keybinds. Loaded after hyprland/keybinds.lua. -- Machine-specific keybinds.
-- Usage: cp keybinds.example keybinds.lua (keybinds.lua is ignored by git)
-- https://wiki.hypr.land/Configuring/Binds/ -- https://wiki.hypr.land/Configuring/Binds/
-- hl.bind("SUPER + B", hl.dsp.exec_cmd("firefox")) -- hl.bind("SUPER + B", hl.dsp.exec_cmd("firefox"))
+1 -3
View File
@@ -1,6 +1,4 @@
-- Machine-specific monitors. Loaded after hyprland/monitors.lua. -- Machine-specific monitors.
-- Usage: cp monitors.example monitors.lua (monitors.lua is ignored by git)
-- List your outputs with: hyprctl monitors all
-- https://wiki.hypr.land/Configuring/Monitors/ -- https://wiki.hypr.land/Configuring/Monitors/
-- hl.monitor({ output = "eDP-1", mode = "1920x1080@60", position = "auto", scale = 1 }) -- hl.monitor({ output = "eDP-1", mode = "1920x1080@60", position = "auto", scale = 1 })
+2 -10
View File
@@ -1,15 +1,7 @@
-- Machine-specific window rules. -- Machine-specific window rules
-- https://wiki.hypr.land/Configuring/Window-Rules/ -- https://wiki.hypr.land/Configuring/Window-Rules/
-- Uncomment these lines to enable window rules for these apps: -- Uncomment these lines to enable the ones you want on this machine:
-- require("custom/windowrules/godot") -- require("custom/windowrules/godot")
-- Rules for an app used only on this machine can go directly here:
-- hl.window_rule({
-- name = "float-myapp",
-- match = { class = "myapp" },
-- float = true,
-- center = true,
-- })
-- vim: ft=lua -- vim: ft=lua
@@ -1,5 +1,4 @@
-- Machine-specific workspace rules. -- Machine-specific workspace rules.
-- Usage: cp workspacerules.example workspacerules.lua (workspacerules.lua is ignored by git)
-- https://wiki.hypr.land/Configuring/Workspace-Rules/ -- https://wiki.hypr.land/Configuring/Workspace-Rules/
-- hl.workspace_rule({ workspace = "1", monitor = "eDP-1", persistent = true, default_name = "web" }) -- hl.workspace_rule({ workspace = "1", monitor = "eDP-1", persistent = true, default_name = "web" })
-18
View File
@@ -48,24 +48,6 @@ stow .
all the files should now be simlinked to your $HOME folder all the files should now be simlinked to your $HOME folder
### Machine-specific Hyprland config
`~/.config/hypr/hyprland/` holds the shared defaults, don't edit them.
To tweak a single machine (monitors, devices, keybinds…), copy the matching template in `~/.config/hypr/custom/`:
```
cd ~/.config/hypr/custom
cp monitors.example monitors.lua
```
`custom/*.lua` files are ignored by git and loaded after the defaults; missing ones are simply skipped.
Per-app window rules are shared in `custom/windowrules/<app>.lua`. Enable the ones you want in your `custom/windowrules.lua`:
```lua
require("custom/windowrules/godot")
```
### Theme switcher ### Theme switcher
user the <kbd>SUPER</kbd> + <kbd>T</kbd> shortcut to switch between light and dark theme user the <kbd>SUPER</kbd> + <kbd>T</kbd> shortcut to switch between light and dark theme