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