Separate config for homeserver with hwtemp backtick.

This commit is contained in:
Alexey Skobkin 2018-10-17 13:18:00 +03:00
parent 19dd8784b1
commit c4ced0af30
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
# AMD A10-6800K APU (via motherboard until offset problem in k10temp is fixed)
sensors | fgrep 'CPUTIN:' | awk '{print $2}' | head -n1

View file

@ -0,0 +1,18 @@
# Including common settings
source ~/.dotfiles/screen/common.screenrc
# Creating default windows
screen -t shell
screen -t root1 sudo -i
screen -t root2 sudo -i
# Selecting first window
select 0
# Backtick commands to output in the hardstatus
backtick 1 10 10 sh -c '~/.dotfiles/screen/backticks/hwtemp-homeserver.sh'
backtick 2 10 10 sh -c '~/.dotfiles/screen/backticks/loadavg.sh'
backtick 3 10 10 sh -c '~/.dotfiles/screen/backticks/memory.sh'
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %1` ][ %2` ][ %3` ][%{B} %d-%m-%Y %{W}%c %{g}]'