diff --git a/configuration.nix b/configuration.nix index a0fa1c7..d49f2af 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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; diff --git a/lemonbar.sh b/lemonbar.sh index e068abe..cfbe4c8 100755 --- a/lemonbar.sh +++ b/lemonbar.sh @@ -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 }