226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
|
position bottom
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
status_command while echo "$(</sys/class/power_supply/BAT0/capacity)% $(awk '{ printf $1*10^-6 \"W\" }' /sys/class/power_supply/BAT0/power_now) $(date +'%Y-%m-%d %k:%M')"; do sleep 1; done
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
}
exec wlsunset -t 4700 -S 10:00 -s 21:00
include /etc/sway/config.d/*
|
<
|
<
|
226
227
228
229
230
231
232
233
234
235
236
237
238
239
|
position bottom
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
status_command while echo "$(</sys/class/power_supply/BAT0/capacity)% $(awk '{ printf $1*10^-6 \"W\" }' /sys/class/power_supply/BAT0/power_now) $(date +'%Y-%m-%d %k:%M')"; do sleep 1; done
colors {
background #000000a0
}
}
exec wlsunset -t 4700 -S 10:00 -s 21:00
include /etc/sway/config.d/*
|