dots: public mirror (history reset after licence cleanup)

This commit is contained in:
Coja committed 2026-11-09 18:19:14 +01:00
commit 693822ad5f
226 files changed
+22502

No files matched your search

+1
View File
@@ -0,0 +1 @@
../../../gui/.config/hypr/.luarc.json
+37
View File
@@ -0,0 +1,37 @@
-- lw host layer — loaded by gui/.config/hypr/hyprland.lua via check_require("host").
-- Ported from lw's hyprlang {monitors,host}.conf (retired 2026-11-09; in history at d851213).
-- No discrete GPU on this laptop — no nvidia extras.
-- ── Monitors ─────────────────────────────────────────────────────────────────
local mainScreen = "eDP-1"
local leftScreen = "DP-2"
local rightScreen = "HDMI-A-1"
hl.monitor({ output = mainScreen, mode = "1366x768@60.14", position = "0x0", scale = 1 })
hl.monitor({ output = leftScreen, mode = "1920x1080@60", position = "-1920x0", scale = 1 })
hl.monitor({ output = rightScreen, mode = "1920x1080@60", position = "1366x0", scale = 1 })
-- Alternatives carried over verbatim from the retired monitors.conf (hyprlang syntax —
-- translate to an hl.monitor() call when one is needed):
-- monitor=HDMI-A-1,1920x1080@60,-1366x0,1 # hdmi on left
-- monitor=HDMI-A-1,1920x1080@60,0x-768,1 # hdmi on top
-- monitor=DP-2,640x480@59.94Hz,0x0,1 # vga
-- monitor = HDMI-A-1, 1366x768@60.00Hz, auto , 1, mirror, eDP-1 #mirror lapscreen
-- monitor = DP-2, 1920x1080@60.00Hz, auto , 1, mirror, eDP-1 #mirror lapscreen jag3
-- monitor = eDP-1, 1920x1080@60.00Hz, auto , 1, mirror, HDMI-A-1 #main hdmi, lapscreen mirrors
-- monitor = eDP-1, 1920x1080@60.00Hz, auto , 1, mirror, DP-2 #main VGA, lapscreen mirrors
-- monitor = , preferred, auto, 1, mirror, DP-2 # dmz projector
-- monitor = eDP-1, 1920x1080@60, auto , 1, mirror, DP-2 #mirror vga test
-- ── Workspace pins (1-10 main, 11-20 right, 21-30 left) ──────────────────────
for i = 1, 10 do
hl.workspace_rule({ workspace = tostring(i), monitor = mainScreen, default = (i == 1) })
hl.workspace_rule({ workspace = tostring(i + 10), monitor = rightScreen, default = (i == 1) })
hl.workspace_rule({ workspace = tostring(i + 20), monitor = leftScreen, default = (i == 1) })
end
-- ── Startup (was host.conf) ──────────────────────────────────────────────────
hl.on("hyprland.start", function()
-- keyboard remaps (lw is the only xremap host)
hl.exec_cmd("xremap ~/.config/xremap/config.yml")
end)
+21
View File
@@ -0,0 +1,21 @@
# lw hyprlock sizes — 1920x1080, scale 1.
#
# gui/.config/hypr/hyprlock.conf ships sizes tuned for wm's 3072x1728 logical panel; these
# are those values × 0.625, which keeps the same proportions the layout was designed around
# (clock ~13% of screen height, date ~2.5%, meta ~1.5%, logo ~16%).
#
# Caveat — lw is multi-monitor and hyprlock draws on every output. host.lua makes
# mainScreen (eDP-1) 1366x768, so on the built-in panel these read ~40% larger than
# intended (clock ≈ 18% of its height). Sized for the 1920x1080 externals on purpose; if
# the laptop panel is the one you actually lock on, use the 768-tuned set instead:
# $fsClock = 98 $fsDate = 20 $fsMeta = 12 $fsSmall = 11 $fsIcon = 18 $logoSize = 124
$fsClock = 138
$fsDate = 28
$fsMeta = 16
$fsSmall = 15
$fsIcon = 25
$logoSize = 175
# No $y* overrides: the shared offsets in hyprlock.conf already spread the content to the
# edges, and they land the same on both hosts because each host's sizes are the same
# proportion of its screen. Override them here if lw ever needs to differ.