diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 7220a0b..3ce6f20 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -66,7 +66,7 @@ bind = , xf86audioraisevolume, exec, $volume --inc #volume up bind = , xf86audiolowervolume, exec, $volume --dec #volume down bind = , xf86AudioMicMute, exec, $volume --toggle-mic #mute mic bind = , xf86audiomute, exec, $volume --toggle #FN+F1 -bind = , xf86Sleep, exec, $LockScreen #FN+F11 (sleep button) +bind = , xf86Sleep, exec, systemctl suspend #FN+F11 (sleep button) bind = , xf86Rfkill, exec, $AirplaneMode #Airplane mode FN+F12 # media controls using keyboards diff --git a/config/hypr/configs/LaptopDisplay.conf b/config/hypr/configs/LaptopDisplay.conf index c2626cb..d50c911 100644 --- a/config/hypr/configs/LaptopDisplay.conf +++ b/config/hypr/configs/LaptopDisplay.conf @@ -1,4 +1,4 @@ ## NOTE, THIS FILE IS BEING USED by disabling Laptop display monitor behaviour when closing lid. ## See notes on Laptops.conf -monitor = eDP-1, preferred, auto, 1 +#monitor = eDP-1, preferred, auto, 1 diff --git a/config/hypr/configs/Laptops.conf b/config/hypr/configs/Laptops.conf index a31e755..24eef9a 100644 --- a/config/hypr/configs/Laptops.conf +++ b/config/hypr/configs/Laptops.conf @@ -34,11 +34,14 @@ bind = $mainMod ALT, F6, exec, $screenshot --in10 bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, 1" bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" + # Be very careful and read the notes when using this part # Before enabling this part, make sure to comment out (put # on both of the bindl = , switch.... above) # NOTE: Display for laptop are being generated into LaptopDisplay.conf -# NOTE: Make sure to OPEN your laptop display before shutting down your laptop or you will end up with a disabled Laptop display on your next startup +# CONS of doing this, is that there is no wallpaper. you need to set up your wallpaper again by (SUPER W) and set wallpaper. #bindl = , switch:off:Lid Switch,exec,echo "monitor = eDP-1, preferred, auto, 1" > $configs/LaptopDisplay.conf #bindl = , switch:on:Lid Switch,exec,echo "monitor = eDP-1, disable" > $configs/LaptopDisplay.conf +# for laptop-lid action (to erase the last entry) - Very important to uncomment this if you use above +# exec-once = echo "eDP-1, preferred, auto, 1" > $HOME/.config/hypr/configs/LaptopDisplay.conf