Browse Source

Notify chaning fan profiles on asus laptops

pull/148/head
KKV9 2 years ago
parent
commit
ba91977fe8
  1. 2
      config/hypr/UserConfigs/Laptops.conf
  2. 9
      config/hypr/scripts/Asus.sh

2
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 = , xf86KbdBrightnessUp, exec, $scriptsDir/BrightnessKbd.sh --inc #Keyboard brightness up
bind = , xf86Launch1, exec, rog-control-center # ASUS Armory crate button bind = , xf86Launch1, exec, rog-control-center # ASUS Armory crate button
bind = , xf86Launch3, exec, asusctl led-mode -n #FN+F4 Switch keyboard RGB profile 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 = , xf86MonBrightnessDown, exec, $scriptsDir/Brightness.sh --dec
bind = , xf86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc bind = , xf86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc
bind = , xf86TouchpadToggle, exec, $scriptsDir/TouchPad.sh #disable touchpad bind = , xf86TouchpadToggle, exec, $scriptsDir/TouchPad.sh #disable touchpad

9
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"
Loading…
Cancel
Save