Просмотр исходного кода

~/.config/dwm: Track working time in status

Lu Stadler лет назад: 7
Родитель
Сommit
5b7fa6972f
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      .config/dwm/status.sh

+ 2 - 0
.config/dwm/status.sh

2
2
3
status=""
3
status=""
4
4
5
status="$(working-time)  "
6
5
# network
7
# network
6
#status="📡 $(nmcli --terse --fields STATE -c no g status)"
8
#status="📡 $(nmcli --terse --fields STATE -c no g status)"
7
network="$(nmcli --terse --colors no --fields name,type connection show --active | grep -v ':bridge$' | sed 's/:[-a-z0-9]*$//' | head -n1)"
9
network="$(nmcli --terse --colors no --fields name,type connection show --active | grep -v ':bridge$' | sed 's/:[-a-z0-9]*$//' | head -n1)"