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