From a8802d53933921c303371f31ec4b2a4910a36ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 28 Feb 2025 03:57:46 +0300 Subject: [PATCH] feat: :sparkles: add lid control --- .config/hypr/hyprland.conf | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 6e0e7df..adb0f00 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,6 +1,11 @@ -# monitor=,preferred,auto,auto -monitor = HDMI-A-1, 1920x1080@75, 1920x0, 1 -# monitor = eDP-1, disable +monitor=,preferred,auto,auto +monitor = eDP-1, 2880x1800@90, 0x1080, 2 +monitor = HDMI-A-1, 1920x1080@75, 0x0, 1 +monitor = eDP-1, disable +# bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" +#bindl = , switch:on:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false +bindl = , switch:off:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false +bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 2880x1800@90, 0x1080, 2" monitor = HDMI-A-1, disable exec-once = sleep 1 && waybar exec-once = sleep 2 && nm-applet @@ -19,7 +24,7 @@ render:explicit_sync = true $terminal = wezterm start --always-new-process -$fileManager = flatpak run org.kde.dolphin +$fileManager = GTK_THEME=Adwaita:dark nautilus $active_menu = rofi -show $menu = rofi -show drun -show-icons $menu_unsafe = mullvad-exclude rofi -show drun -show-icons @@ -31,8 +36,6 @@ $browser_unsafe = mullvad-exclude flatpak run io.github.ungoogled_software.ungoo $mainMod = SUPER $my_trigger = Alt - - bind = $my_trigger, T, exec, $terminal bind = $my_trigger, Q, exec, $fileManager bind = Alt, F1, exec, $active_menu