new wallpaper, added vnc status icon
This commit is contained in:
parent
997d1ac84a
commit
64693b72a6
|
@ -1,4 +1,4 @@
|
||||||
#? Config file for btop v. 1.2.9
|
#? Config file for btop v. 1.2.12
|
||||||
|
|
||||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||||
|
|
|
@ -18,7 +18,7 @@ fi
|
||||||
|
|
||||||
hc lock
|
hc lock
|
||||||
hsetroot -solid "#1e1e2e"
|
hsetroot -solid "#1e1e2e"
|
||||||
feh --bg-fill ~/.config/herbstluftwm/wallpaper.jpg
|
feh --bg-fill ~/.config/herbstluftwm/wallpaper.png
|
||||||
xobpipe="$XDG_RUNTIME_DIR/xobpipe"
|
xobpipe="$XDG_RUNTIME_DIR/xobpipe"
|
||||||
|
|
||||||
# theme
|
# theme
|
||||||
|
|
|
@ -219,6 +219,8 @@ segment_network() {
|
||||||
local bticon
|
local bticon
|
||||||
local nasavpn
|
local nasavpn
|
||||||
local nasaicon
|
local nasaicon
|
||||||
|
local vnc
|
||||||
|
local vncicon
|
||||||
|
|
||||||
# network device
|
# network device
|
||||||
net=$(ip route get 1.1.1.1 | grep -Po '(?<=dev\s)\w+' | cut -f1 -d ' ')
|
net=$(ip route get 1.1.1.1 | grep -Po '(?<=dev\s)\w+' | cut -f1 -d ' ')
|
||||||
|
@ -250,9 +252,15 @@ segment_network() {
|
||||||
else
|
else
|
||||||
nasaicon="%{O3}${fgred}異$fgend"
|
nasaicon="%{O3}${fgred}異$fgend"
|
||||||
fi
|
fi
|
||||||
|
vnc=$(docker ps --format "{{.Names}}" | grep novnc)
|
||||||
|
if [ -n "$vnc" ]; then
|
||||||
|
vncicon="%{O3}${fggreen}$fgend"
|
||||||
|
else
|
||||||
|
vncicon="%{O3}${fgred}$fgend"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
segment_text="$bticon$nasaicon$neticon"
|
segment_text="$bticon$nasaicon$vncicon$neticon"
|
||||||
}
|
}
|
||||||
|
|
||||||
segment_memory() {
|
segment_memory() {
|
||||||
|
|
Loading…
Reference in New Issue