mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 18:20:13 +01:00
power-profiles-daemon (only to ROG users), see changelogs notes
This commit is contained in:
parent
3c53b9d2a0
commit
5e995fc9ed
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## 23 May 2024
|
## 23 May 2024
|
||||||
- added qalculate-gtk to work with rofi-calc. Default keybinds (SUPER ALT C)
|
- added qalculate-gtk to work with rofi-calc. Default keybinds (SUPER ALT C)
|
||||||
|
- added power-profiles-daemon for ROG laptops. Note, I cant add to all since it conflicts with TLP, CPU-Auto-frequency etc.
|
||||||
|
- Note: Fastfetch configs will be added from Hyprland-Dots v2.2.12. However, you need to install from Fastfetch github page
|
||||||
|
|
||||||
## 19 May 2024
|
## 19 May 2024
|
||||||
- Disabled the auto-login in .zprofile as it causes auto-login to Hyprland if any wayland was chosen. Can enabled if only using hyprland
|
- Disabled the auto-login in .zprofile as it causes auto-login to Hyprland if any wayland was chosen. Can enabled if only using hyprland
|
||||||
|
|||||||
@ -2,6 +2,10 @@
|
|||||||
# 💫 https://github.com/JaKooLit 💫 #
|
# 💫 https://github.com/JaKooLit 💫 #
|
||||||
# ASUS ROG ) #
|
# ASUS ROG ) #
|
||||||
|
|
||||||
|
asus=(
|
||||||
|
power-profiles-daemon
|
||||||
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
# Determine the directory where the script is located
|
# Determine the directory where the script is located
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -15,6 +19,18 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
|||||||
# Set the name of the log file to include the current date and time
|
# Set the name of the log file to include the current date and time
|
||||||
LOG="install-$(date +%d-%H%M%S)_rog.log"
|
LOG="install-$(date +%d-%H%M%S)_rog.log"
|
||||||
|
|
||||||
|
# Installing enhancemet
|
||||||
|
for PKG1 in "${asus[@]}"; do
|
||||||
|
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo -e "\033[1A\033[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
printf " enabling power-profiles-daemon...\n"
|
||||||
|
sudo systemctl enable power-profiles-daemon 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
# Function to handle the installation and log messages
|
# Function to handle the installation and log messages
|
||||||
install_and_log() {
|
install_and_log() {
|
||||||
local project_name="$1"
|
local project_name="$1"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user