diff --git a/.gitignore b/.gitignore index 4018da3..679412f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ hypr/.config/hypr/env hypr/.config/hypr/env.conf hypr/.config/hypr/env.sh +hypr/.config/hypr/monitor_setup.lua hypr/.config/wpaperd/wallpapers/linked *~lock.*# lazy-lock.json diff --git a/hypr/.config/hypr/hyprland.lua b/hypr/.config/hypr/hyprland.lua index 1321c29..7a9a5bd 100644 --- a/hypr/.config/hypr/hyprland.lua +++ b/hypr/.config/hypr/hyprland.lua @@ -37,13 +37,7 @@ hl.exec_cmd("bash ~/.config/hypr/env.sh") -- ## MONITORS ### --- ############### --- See https://wiki.hypr.land/Configuring/Monitors/ - --- monitor=,preferred,auto,auto -require("modules.monitor_setup_buntes_monster") - --- source = ~/.config/hypr/modules/monitor_setup_buntes_monster.conf +require("monitor_setup") -- unscale XWayland hl.config({ diff --git a/hypr/.config/hypr/modules/monitor_setup_buntes_monster.lua b/hypr/.config/hypr/modules/monitor_setup_buntes_monster.lua index b904c16..a6ea1c9 100644 --- a/hypr/.config/hypr/modules/monitor_setup_buntes_monster.lua +++ b/hypr/.config/hypr/modules/monitor_setup_buntes_monster.lua @@ -1,32 +1,3 @@ --- monitorv2 { - --- output = DP-2 - --- mode = highres highrr - --- position = 0x0 - --- scale = 1.2 - --- bitdepth = 10 - --- cm = hdr - --- supports_wide_color = 1 - --- supports_hdr = 1 - --- sdr_min_luminance = 0.005 - --- sdr_max_luminance = 200 - --- min_luminance = 0.002 - --- max_luminance = 200 - --- max_avg_luminance = 150 - --- } hl.monitor({ output = "DP-2", disabled = false, diff --git a/hypr/.config/hypr/monitor_setup.example.lua b/hypr/.config/hypr/monitor_setup.example.lua new file mode 100644 index 0000000..9d2ea7e --- /dev/null +++ b/hypr/.config/hypr/monitor_setup.example.lua @@ -0,0 +1,35 @@ + +-- Default +hl.monitor({ + output = "", + disabled = false, + mode = "preferred", + position = "auto", + scale = 1.0, +}) + +-- -- Buntes Monster +-- hl.monitor({ +-- output = "DP-2", +-- disabled = false, +-- mode = "preferred", +-- position = "auto-left", +-- scale = 1.5, +-- }) +-- hl.monitor({ +-- output = "DP-3", +-- disabled = false, +-- mode = "preferred", +-- position = "auto-right", +-- scale = 1.0, +-- }) + +-- -- Archtop +-- hl.monitor({ +-- output = "", +-- disabled = false, +-- mode = "preferred", +-- position = "auto", +-- scale = 1.0, +-- }) +