bmhagui / power_up_tool

Task management and power saving for laptops.
1 stars 0 forks source link

Fix hardcoded paths #1

Closed rudametw closed 7 years ago

rudametw commented 7 years ago

Many of the scripts and the C program use hardcoded paths that do not exist, leading to errors like:

xdotool getwindowfocus getwindowpid >> ~/power_up_tool/power-up/v4/config/conf_pid.txt bash: /home/wrudamet/power_up_tool/power-up/v4/config/conf_pid.txt: No such file or directory

You should instead create a directory (power_up_tool) inside the ~/.config directory that is used for configuring user programs in Linux. If for some reason you need many subdirectories, than you should create them as well.