From 09c8706f3587ed43862be71405553b8dfaa8dbbc Mon Sep 17 00:00:00 2001 From: Samuel O'Neal Date: Mon, 7 Sep 2026 15:45:44 -0600 Subject: [PATCH] fixed issue with lid closing was not being detected --- hyprland/.config/hypr/monitors.lua | 44 ++- monique/.config/monique/profiles/desk.json | 279 +++++++++++++++++++ monique/.config/monique/profiles/laptop.json | 60 ++++ monique/.config/monique/settings.json | 3 +- 4 files changed, 377 insertions(+), 9 deletions(-) create mode 100644 monique/.config/monique/profiles/desk.json create mode 100644 monique/.config/monique/profiles/laptop.json diff --git a/hyprland/.config/hypr/monitors.lua b/hyprland/.config/hypr/monitors.lua index f9e6726..96502f4 100644 --- a/hyprland/.config/hypr/monitors.lua +++ b/hyprland/.config/hypr/monitors.lua @@ -1,8 +1,36 @@ --- Managed by monique (run `monique` or SUPER+SHIFT+M to arrange). The built-in --- panel is managed at runtime by moniqued's clamshell mode: enabled here, then --- disabled while the lid is closed with external displays attached. --- See https://wiki.hypr.land/Configuring/Basics/Monitors/ for more -hl.monitor({ output = "desc:BOE 0x0BC9", mode = "preferred", position = "0x0", scale = 1.0 }) -hl.monitor({ output = "desc:Viewteck Co. Ltd. GNV34DB", mode = "3440x1440@50.0", position = "3795x1785", scale = 1.0 }) -hl.monitor({ output = "desc:Dell Inc. DELL U2515HX GMDK46C4053L", mode = "2560x1440@59.95", position = "5488x345", scale = 1.0 }) -hl.monitor({ output = "desc:Dell Inc. DELL U2518D 0WG2J9C5B3WL", mode = "2560x1440@59.95", position = "2928x345", scale = 1.0 }) +-- Generated by Monique - https://github.com/ToRvaLDz/monique + +hl.monitor({ + output = "desc:BOE 0x0BC9", + disabled = true, +}) + +hl.monitor({ + output = "desc:Dell Inc. DELL U2515HX GMDK46C4053L", + mode = "2560x1440@59.951", + position = "5488x345", + scale = 1, + cm = "srgb", + sdr_min_luminance = 0.2, + sdr_max_luminance = 80, +}) + +hl.monitor({ + output = "desc:Dell Inc. DELL U2518D 0WG2J9C5B3WL", + mode = "2560x1440@59.951", + position = "2928x345", + scale = 1, + cm = "srgb", + sdr_min_luminance = 0.2, + sdr_max_luminance = 80, +}) + +hl.monitor({ + output = "desc:Viewteck Co. Ltd. GNV34DB", + mode = "3440x1440@50", + position = "3795x1785", + scale = 1, + cm = "srgb", + sdr_min_luminance = 0.2, + sdr_max_luminance = 80, +}) diff --git a/monique/.config/monique/profiles/desk.json b/monique/.config/monique/profiles/desk.json new file mode 100644 index 0000000..82b0bca --- /dev/null +++ b/monique/.config/monique/profiles/desk.json @@ -0,0 +1,279 @@ +{ + "name": "desk", + "monitors": [ + { + "name": "eDP-2", + "description": "BOE 0x0BC9", + "make": "BOE", + "model": "0x0BC9", + "serial": "", + "width": 2560, + "height": 1600, + "refresh_rate": 165.0, + "resolution_mode": "explicit", + "available_modes": [ + "2560x1600@165.00Hz", + "2560x1600@60.00Hz", + "1920x1200@165.00Hz", + "1920x1080@165.00Hz", + "1600x1200@165.00Hz", + "1680x1050@165.00Hz", + "1280x1024@165.00Hz", + "1440x900@165.00Hz", + "1280x800@165.00Hz", + "1280x720@165.00Hz", + "1024x768@165.00Hz", + "800x600@165.00Hz", + "640x480@165.00Hz" + ], + "x": 0, + "y": 0, + "position_mode": "explicit", + "scale": 1, + "scale_mode": "explicit", + "transform": 0, + "mirror_of": "", + "bitdepth": 8, + "vrr": 0, + "color_management": "srgb", + "icc_profile": "", + "sdr_brightness": 1, + "sdr_saturation": 1, + "sdr_eotf": 0, + "supports_hdr": 0, + "supports_wide_color": 0, + "sdr_min_luminance": 0.2, + "sdr_max_luminance": 80, + "min_luminance": 0.0, + "max_luminance": 0.0, + "max_avg_luminance": 0.0, + "reserved_top": 0, + "reserved_bottom": 0, + "reserved_left": 0, + "reserved_right": 0, + "enabled": false, + "focus_at_startup": false + }, + { + "name": "DP-7", + "description": "Dell Inc. DELL U2515HX GMDK46C4053L", + "make": "Dell Inc.", + "model": "DELL U2515HX", + "serial": "GMDK46C4053L", + "width": 2560, + "height": 1440, + "refresh_rate": 59.951, + "resolution_mode": "explicit", + "available_modes": [ + "2560x1440@59.95Hz", + "2048x1152@60.00Hz", + "1920x1200@59.88Hz", + "1920x1080@60.00Hz", + "1920x1080@60.00Hz", + "1920x1080@59.94Hz", + "1920x1080@50.00Hz", + "1920x1080@30.00Hz", + "1920x1080@29.97Hz", + "1920x1080@25.00Hz", + "1920x1080@24.00Hz", + "1920x1080@23.98Hz", + "1600x1200@60.00Hz", + "1680x1050@59.95Hz", + "1280x1024@75.03Hz", + "1280x1024@60.02Hz", + "1200x960@59.99Hz", + "1152x864@75.00Hz", + "1280x720@60.00Hz", + "1280x720@60.00Hz", + "1280x720@59.94Hz", + "1280x720@50.00Hz", + "1024x768@75.03Hz", + "1024x768@60.00Hz", + "800x600@75.00Hz", + "800x600@60.32Hz", + "720x576@50.00Hz", + "720x480@60.00Hz", + "720x480@60.00Hz", + "720x480@59.94Hz", + "720x480@59.94Hz", + "720x480@59.94Hz", + "640x480@75.00Hz", + "640x480@60.00Hz", + "640x480@59.94Hz", + "640x480@59.94Hz", + "720x400@70.08Hz" + ], + "x": 5488, + "y": 345, + "position_mode": "explicit", + "scale": 1, + "scale_mode": "explicit", + "transform": 0, + "mirror_of": "", + "bitdepth": 8, + "vrr": 0, + "color_management": "srgb", + "icc_profile": "", + "sdr_brightness": 1, + "sdr_saturation": 1, + "sdr_eotf": 0, + "supports_hdr": 0, + "supports_wide_color": 0, + "sdr_min_luminance": 0.2, + "sdr_max_luminance": 80, + "min_luminance": 0.0, + "max_luminance": 0.0, + "max_avg_luminance": 0.0, + "reserved_top": 0, + "reserved_bottom": 0, + "reserved_left": 0, + "reserved_right": 0, + "enabled": true, + "focus_at_startup": false + }, + { + "name": "DP-10", + "description": "Dell Inc. DELL U2518D 0WG2J9C5B3WL", + "make": "Dell Inc.", + "model": "DELL U2518D", + "serial": "0WG2J9C5B3WL", + "width": 2560, + "height": 1440, + "refresh_rate": 59.951, + "resolution_mode": "explicit", + "available_modes": [ + "2560x1440@59.95Hz", + "2048x1080@60.00Hz", + "2048x1080@24.00Hz", + "1920x1080@60.00Hz", + "1920x1080@60.00Hz", + "1920x1080@59.94Hz", + "1920x1080@50.00Hz", + "1600x1200@60.00Hz", + "1280x1024@75.03Hz", + "1280x1024@60.02Hz", + "1152x864@75.00Hz", + "1280x720@60.00Hz", + "1280x720@60.00Hz", + "1280x720@59.94Hz", + "1280x720@50.00Hz", + "1024x768@75.03Hz", + "1024x768@60.00Hz", + "800x600@75.00Hz", + "800x600@60.32Hz", + "720x576@50.00Hz", + "720x576@50.00Hz", + "720x480@60.00Hz", + "720x480@60.00Hz", + "720x480@59.94Hz", + "720x480@59.94Hz", + "640x480@75.00Hz", + "640x480@60.00Hz", + "640x480@59.94Hz", + "640x480@59.94Hz", + "720x400@70.08Hz" + ], + "x": 2928, + "y": 345, + "position_mode": "explicit", + "scale": 1, + "scale_mode": "explicit", + "transform": 0, + "mirror_of": "", + "bitdepth": 8, + "vrr": 0, + "color_management": "srgb", + "icc_profile": "", + "sdr_brightness": 1, + "sdr_saturation": 1, + "sdr_eotf": 0, + "supports_hdr": 0, + "supports_wide_color": 0, + "sdr_min_luminance": 0.2, + "sdr_max_luminance": 80, + "min_luminance": 0.0, + "max_luminance": 0.0, + "max_avg_luminance": 0.0, + "reserved_top": 0, + "reserved_bottom": 0, + "reserved_left": 0, + "reserved_right": 0, + "enabled": true, + "focus_at_startup": false + }, + { + "name": "DP-4", + "description": "Viewteck Co. Ltd. GNV34DB", + "make": "Viewteck Co., Ltd.", + "model": "GNV34DB", + "serial": "", + "width": 3440, + "height": 1440, + "refresh_rate": 50.0, + "resolution_mode": "explicit", + "available_modes": [ + "3440x1440@30.00Hz", + "3440x1440@50.00Hz", + "3440x1440@50.00Hz", + "2560x1080@60.00Hz", + "2560x1080@59.94Hz", + "1720x1440@60.00Hz", + "1920x1080@60.00Hz", + "1920x1080@60.00Hz", + "1920x1080@59.94Hz", + "1920x1080@50.00Hz", + "1680x1050@59.88Hz", + "1600x900@60.00Hz", + "1280x1024@75.03Hz", + "1280x1024@60.02Hz", + "1440x900@59.90Hz", + "1280x720@60.00Hz", + "1280x720@60.00Hz", + "1280x720@59.94Hz", + "1280x720@50.00Hz", + "1024x768@75.03Hz", + "1024x768@60.00Hz", + "800x600@75.00Hz", + "800x600@60.32Hz", + "720x480@60.00Hz", + "720x480@60.00Hz", + "720x480@59.94Hz", + "720x480@59.94Hz", + "640x480@75.00Hz", + "640x480@60.00Hz", + "640x480@59.94Hz", + "640x480@59.94Hz", + "720x400@70.08Hz" + ], + "x": 3795, + "y": 1785, + "position_mode": "explicit", + "scale": 1, + "scale_mode": "explicit", + "transform": 0, + "mirror_of": "", + "bitdepth": 8, + "vrr": 0, + "color_management": "srgb", + "icc_profile": "", + "sdr_brightness": 1, + "sdr_saturation": 1, + "sdr_eotf": 0, + "supports_hdr": 0, + "supports_wide_color": 0, + "sdr_min_luminance": 0.2, + "sdr_max_luminance": 80, + "min_luminance": 0.0, + "max_luminance": 0.0, + "max_avg_luminance": 0.0, + "reserved_top": 0, + "reserved_bottom": 0, + "reserved_left": 0, + "reserved_right": 0, + "enabled": true, + "focus_at_startup": false + } + ], + "workspace_rules": [], + "last_applied_time": 1788817484.835665 +} diff --git a/monique/.config/monique/profiles/laptop.json b/monique/.config/monique/profiles/laptop.json new file mode 100644 index 0000000..4c3e2af --- /dev/null +++ b/monique/.config/monique/profiles/laptop.json @@ -0,0 +1,60 @@ +{ + "last_applied_time": 0.0, + "monitors": [ + { + "available_modes": [ + "2560x1600@165.00Hz", + "2560x1600@60.00Hz", + "1920x1200@165.00Hz", + "1920x1080@165.00Hz", + "1600x1200@165.00Hz", + "1680x1050@165.00Hz", + "1280x1024@165.00Hz", + "1440x900@165.00Hz", + "1280x800@165.00Hz", + "1280x720@165.00Hz", + "1024x768@165.00Hz", + "800x600@165.00Hz", + "640x480@165.00Hz" + ], + "bitdepth": 8, + "color_management": "srgb", + "description": "BOE 0x0BC9", + "enabled": true, + "focus_at_startup": false, + "height": 1600, + "icc_profile": "", + "make": "BOE", + "max_avg_luminance": 0.0, + "max_luminance": 0.0, + "min_luminance": 0.0, + "mirror_of": "", + "model": "0x0BC9", + "name": "eDP-2", + "position_mode": "explicit", + "refresh_rate": 165.0, + "reserved_bottom": 0, + "reserved_left": 0, + "reserved_right": 0, + "reserved_top": 0, + "resolution_mode": "explicit", + "scale": 1, + "scale_mode": "explicit", + "sdr_brightness": 1, + "sdr_eotf": 0, + "sdr_max_luminance": 80, + "sdr_min_luminance": 0.2, + "sdr_saturation": 1, + "serial": "", + "supports_hdr": 0, + "supports_wide_color": 0, + "transform": 0, + "vrr": 0, + "width": 2560, + "x": 0, + "y": 0 + } + ], + "name": "laptop", + "workspace_rules": [] +} diff --git a/monique/.config/monique/settings.json b/monique/.config/monique/settings.json index cc1987d..62a2624 100644 --- a/monique/.config/monique/settings.json +++ b/monique/.config/monique/settings.json @@ -1,5 +1,6 @@ { "clamshell_mode": true, "update_sddm": true, - "migrate_workspaces": true + "migrate_workspaces": true, + "active_profile": "desk" }