-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding yay instead of yaourt + battery
- Loading branch information
Showing
11 changed files
with
109 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Power management | ||
|
||
```sh | ||
sudo powertop | ||
s-tui | ||
yaourt s-tui | ||
sudo powertop | ||
yaourt bumblebee | ||
yaourt bbswitch | ||
sudo systemctl enable bumblebeed.service | ||
sudo systemctl start bumblebeed.service | ||
|
||
sudo powertop | ||
|
||
sudo gpasswd -a beaussan bumblebee | ||
|
||
xrandr --listproviders | ||
glxspheres64 | ||
optirun glxsphere64 | ||
|
||
bumblebeed --help | ||
optirun glxsphere64 | ||
|
||
systemctl status bumblebeed | ||
|
||
yaourt yay | ||
yay yay | ||
cat /etc/pacman.conf | ||
yay tlp | ||
tlp | ||
sudo systemctl enable tlp.service tlp-sleep.service | ||
sudo systemctl start tlp tlp-sleep.service | ||
yay tlp | ||
``` | ||
|
||
```sh | ||
|
||
cat << EOF | sudo tee /etc/systemd/system/powertop.service | ||
[Unit] | ||
Description=PowerTOP auto tune | ||
[Service] | ||
Type=idle | ||
Environment="TERM=dumb" | ||
ExecStart=/usr/sbin/powertop --auto-tune | ||
[Install] | ||
WantedBy=multi-user.target | ||
EOF | ||
|
||
systemctl daemon-reload | ||
systemctl enable powertop.service | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"aururl": "https://aur.archlinux.org", | ||
"buildDir": "$HOME/.cache/yay", | ||
"editor": "", | ||
"editorflags": "", | ||
"makepkgbin": "makepkg", | ||
"makepkgconf": "", | ||
"pacmanbin": "pacman", | ||
"pacmanconf": "/etc/pacman.conf", | ||
"tarbin": "bsdtar", | ||
"redownload": "no", | ||
"rebuild": "no", | ||
"answerclean": "", | ||
"answerdiff": "", | ||
"answeredit": "", | ||
"answerupgrade": "", | ||
"gitbin": "git", | ||
"gpgbin": "gpg", | ||
"gpgflags": "", | ||
"mflags": "", | ||
"sortby": "votes", | ||
"gitflags": "", | ||
"removemake": "ask", | ||
"requestsplitn": 150, | ||
"sortmode": 0, | ||
"completionrefreshtime": 7, | ||
"sudoloop": true, | ||
"timeupdate": false, | ||
"devel": false, | ||
"cleanAfter": false, | ||
"gitclone": true, | ||
"provides": true, | ||
"pgpfetch": true, | ||
"upgrademenu": true, | ||
"cleanmenu": true, | ||
"diffmenu": false, | ||
"editmenu": false, | ||
"combinedupgrade": false, | ||
"useask": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters