more powersaving for macbook
This commit is contained in:
parent
589db2d35d
commit
1d1f878bcc
@ -45,7 +45,6 @@
|
||||
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
resumeCommands = "i3lock -u -c 1d1f21 -i /home/fazo/Pictures/background.jpg";
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Rome";
|
||||
@ -149,7 +148,7 @@
|
||||
};
|
||||
|
||||
logind.extraConfig = ''
|
||||
handlePowerKey=ignore
|
||||
HandlePowerKey="ignore"
|
||||
'';
|
||||
upower.enable = true;
|
||||
|
||||
|
@ -9,7 +9,7 @@ GREEN2="#6d6137"
|
||||
BROWN="#776049"
|
||||
|
||||
buildClock() {
|
||||
echo -n "%{F$WHITE2}$(date "+%A, %e %B, %k:%M:%S")"
|
||||
echo -n "%{F$WHITE2}$(date "+%A, %e %B, %k:%M")"
|
||||
}
|
||||
|
||||
getVolume() {
|
||||
@ -96,7 +96,7 @@ buildBar () {
|
||||
while true
|
||||
do
|
||||
echo " $(getMPD) %{c}$(buildClock) %{r} $(getLOAD) $(separator) $(getMEM) $(separator) $(getDISK) $(separator) $(getNET) $(separator) $(getVolume) $(separator) $(getBAT) "
|
||||
sleep 1
|
||||
sleep 5
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user