Browse Source

updated copy.sh and laptop

pull/59/head
JaKooLit 2 years ago
parent
commit
c65668b41d
  1. 3
      config/hypr/configs/LaptopDisplay.conf
  2. 20
      config/hypr/configs/Laptops.conf
  3. 4
      copy.sh

3
config/hypr/configs/LaptopDisplay.conf

@ -1 +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

20
config/hypr/configs/Laptops.conf

@ -23,16 +23,22 @@ bind = , xf86MonBrightnessDown, exec, $backlight --dec #FN+F7
bind = , xf86MonBrightnessUp, exec, $backlight --inc #FN+F8
bind = , xf86TouchpadToggle, exec, $touchpad #FN+10 disable touchpad
# Screenshot keybindings for Asus G15 (no PrinSrc button)
bind = $mainMod, F6, exec, $screenshot --now
bind = $mainMod SHIFT, F6, exec, $screenshot --area
bind = $mainMod CTRL SHIFT, F6, exec, $screenshot --in5
bind = $mainMod ALT, F6, exec, $screenshot --in10
# From WIKI This is to disable laptop monitor when lid is closed.
# consult https://wiki.hyprland.org/hyprland-wiki/pages/Configuring/Binds/#switches
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
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
# 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
#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
# Screenshot keybindings for Asus G15 (no PrinSrc button)
bind = $mainMod, F6, exec, $screenshot --now
bind = $mainMod SHIFT, F6, exec, $screenshot --area
bind = $mainMod CTRL SHIFT, F6, exec, $screenshot --in5
bind = $mainMod ALT, F6, exec, $screenshot --in10

4
copy.sh

@ -178,10 +178,6 @@ chmod +x ~/.config/hypr/scripts/* 2>&1 | tee -a "$LOG"
# Set executable for initial-boot.sh
chmod +x ~/.config/hypr/initial-boot.sh 2>&1 | tee -a "$LOG"
#printf "\n\n"
# adding user to input group
#printf " adding user to input group...\n"
#sudo gpasswd -a $(whoami) input 2>&1 | tee -a "$LOG"
#printf "\n\n"
# Additional wallpaper

Loading…
Cancel
Save