diff --git a/config/hypr/UserConfigs/Laptops.conf b/config/hypr/UserConfigs/Laptops.conf index 20a6c6f..b46031b 100644 --- a/config/hypr/UserConfigs/Laptops.conf +++ b/config/hypr/UserConfigs/Laptops.conf @@ -11,7 +11,7 @@ bind = , xf86KbdBrightnessDown, exec, $scriptsDir/BrightnessKbd.sh --dec #Keyboa bind = , xf86KbdBrightnessUp, exec, $scriptsDir/BrightnessKbd.sh --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 = , xf86Launch4, exec, $scriptsDir/Asus.sh #FN+F5 change of fan profiles (Quite, Balance, Performance) bind = , xf86MonBrightnessDown, exec, $scriptsDir/Brightness.sh --dec bind = , xf86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc bind = , xf86TouchpadToggle, exec, $scriptsDir/TouchPad.sh #disable touchpad diff --git a/config/hypr/scripts/Asus.sh b/config/hypr/scripts/Asus.sh new file mode 100755 index 0000000..655b00e --- /dev/null +++ b/config/hypr/scripts/Asus.sh @@ -0,0 +1,9 @@ +#!/bin/bash +## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## +# Changing fan profiles on Asus laptops + +notif="$HOME/.config/swaync/images/bell.png" + +asusctl profile -n +msg=$(asusctl profile -p) +notify-send -u low -i "$notif" "$msg"