mirror of
https://bitbucket.org/skobkin/dotfiles.git
synced 2024-11-22 12:56:04 +00:00
Separate config for homeserver with hwtemp backtick.
This commit is contained in:
parent
19dd8784b1
commit
c4ced0af30
3
screen/backticks/hwtemp-homeserver.sh
Executable file
3
screen/backticks/hwtemp-homeserver.sh
Executable 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
|
18
screen/homeserver.screenrc
Normal file
18
screen/homeserver.screenrc
Normal 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}]'
|
||||||
|
|
Loading…
Reference in a new issue