aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/hypr/configs/LaptopDisplay.conf3
-rw-r--r--config/hypr/configs/Laptops.conf20
-rwxr-xr-xcopy.sh4
3 files changed, 16 insertions, 11 deletions
diff --git a/config/hypr/configs/LaptopDisplay.conf b/config/hypr/configs/LaptopDisplay.conf
index 4aa82579..c2626cb6 100644
--- a/config/hypr/configs/LaptopDisplay.conf
+++ b/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
diff --git a/config/hypr/configs/Laptops.conf b/config/hypr/configs/Laptops.conf
index 8d597b00..a31e7551 100644
--- a/config/hypr/configs/Laptops.conf
+++ b/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 \ No newline at end of file
diff --git a/copy.sh b/copy.sh
index 6b1c9fc3..0c960a0e 100755
--- a/copy.sh
+++ b/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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage