Browse Source

updated confs files

pull/59/head
JaKooLit 2 years ago
parent
commit
1b1fe55c5c
  1. 2
      config/hypr/configs/Keybinds.conf
  2. 2
      config/hypr/configs/LaptopDisplay.conf
  3. 5
      config/hypr/configs/Laptops.conf

2
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

2
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

5
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

Loading…
Cancel
Save