diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2023-12-10 12:30:45 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-10 12:30:45 +0900 |
| commit | ce56138a3d50b42ee4ef857ed0e76dbefdde5b15 (patch) | |
| tree | 3d4b49b9c4a4209c871d1796e242f8845f54be2d /config/hypr/configs/Laptops.conf | |
| parent | f21ce059bc23a55138288672887bf50bc5cd2698 (diff) | |
| parent | 8709271a3b0c84174571647e04ecc6ccc40414d0 (diff) | |
Merge pull request #59 from JaKooLit/working-on-it
bump 2.1.18
Diffstat (limited to 'config/hypr/configs/Laptops.conf')
| -rw-r--r-- | config/hypr/configs/Laptops.conf | 42 |
1 files changed, 29 insertions, 13 deletions
diff --git a/config/hypr/configs/Laptops.conf b/config/hypr/configs/Laptops.conf index 0b274336..58cdccde 100644 --- a/config/hypr/configs/Laptops.conf +++ b/config/hypr/configs/Laptops.conf @@ -2,6 +2,7 @@ # Setting variables # This configs are mostly for laptops. This is addemdum to Keybinds.conf +$configs = $HOME/.config/hypr/configs $mainMod = SUPER $scriptsDir = $HOME/.config/hypr/scripts @@ -13,25 +14,40 @@ $LidSwitch = $scriptsDir/LidSwitch.sh $screenshot = $scriptsDir/ScreenShot.sh $touchpad = $scriptsDir/TouchPad.sh -bind = , xf86KbdBrightnessDown, exec, $kbacklight --dec #FN+F2 Keyboard brightness Down -bind = , xf86KbdBrightnessUp, exec, $kbacklight --inc #FN+F3 Keyboard brightnes up +bind = , xf86KbdBrightnessDown, exec, $kbacklight --dec #Keyboard brightness Down +bind = , xf86KbdBrightnessUp, exec, $kbacklight --inc #Keyboard brightness up bind = , xf86Launch1, exec, rog-control-center # ASUS Armory crate button bind = , xf86Launch3, exec, asusctl led-mode -n #FN+F4 Switch keyboard RGB profile bind = , xf86Launch4, exec, asusctl profile -n #FN+F5 change of fan profiles (Quite, Balance, Performance) -bind = , xf86MonBrightnessDown, exec, $backlight --dec #FN+F7 -bind = , xf86MonBrightnessUp, exec, $backlight --inc #FN+F8 -bind = , xf86TouchpadToggle, exec, $touchpad #FN+10 disable touchpad +bind = , xf86MonBrightnessDown, exec, $backlight --dec +bind = , xf86MonBrightnessUp, exec, $backlight --inc +bind = , xf86TouchpadToggle, exec, $touchpad #disable touchpad -# triggered when external monitor is connected and closing lid (For Laptop) -# bindl=,switch:Lid Switch, exec, $LidSwitch -# NOTE: (12-Nov-2023) This use to work before but seems below is ok now +# 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 + +# Below are useful when you are connecting your laptop in external display +# Suggest you edit below for your laptop display # 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" -# 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 +############################################################################# +### WARNING! Using this method has some caveats!! USE THIS PART WITH SOME CAUTION! +# CONS of doing this, is that you need to set up your wallpaper (SUPER W) and choose wallpaper. +# CAVEATS! Sometimes the Main Laptop Monitor DOES NOT have display that it needs to re-connect your external monitor +# One work around is to ensure that before shutting down laptop, MAKE SURE your laptop lid is OPEN!! +# Make sure to comment (put # on the both the bindl = , switch ......) above +# NOTE: Display for laptop are being generated into LaptopDisplay.conf +# This part is to be use if you do not want your main laptop monitor to wake up during say wallpaper change etc + +#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) +#exec-once = echo "eDP-1, preferred, auto, 1" > $HOME/.config/hypr/configs/LaptopDisplay.conf +############################################################################## |
