Update .config/sway/config
This commit is contained in:
parent
e9bc84c79b
commit
695d6105ec
1 changed files with 2 additions and 1 deletions
|
@ -225,7 +225,8 @@ bar {
|
|||
# When the status_command prints a new line to stdout, swaybar updates.
|
||||
# The default just shows the current date and time.
|
||||
#status_command while cat /sys/class/power_supply/BAT0/capacity | sed "s/^/B:/";do sleep 1B; done
|
||||
status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
|
||||
#status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
|
||||
status_command while vstr=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d' ' -f2);dstr=$(date +'%Y-%m-%d %H:%M:%S');echo "V:${vstr} ${dstr}"; do sleep 1; done
|
||||
#status_command while (date +'%Y-%m-%d %I:%M:%S %p'| tr '\n' ' ' && cat /sys/class/power_supply/BAT0/capacity | sed "s/^/B:/";); do sleep 1; done
|
||||
|
||||
colors {
|
||||
|
|
Loading…
Add table
Reference in a new issue