waybar: change from deluge to transmission

This commit is contained in:
lelgenio 2020-04-23 18:58:49 -03:00
parent f94f1fd0db
commit 96084c74b9
2 changed files with 12 additions and 13 deletions

View File

@ -1,4 +1,5 @@
{
"layer":"top",
"modules-left": [
"sway/workspaces",
"sway/window"
@ -13,8 +14,8 @@
"custom/spigot",
"tray",
"custom/mail",
"custom/delugeD",
"custom/delugeS",
"custom/torrentD",
"custom/torrentS",
"custom/updates",
"pulseaudio",
"network",
@ -141,16 +142,14 @@
"interval":30,
"on-click":"terminal spigot console"
},
"custom/delugeD":{
"format":"{}",
"exec":"timeout 10s deluge-console info | grep '\\[D\\]' | wc -l | sed s/^0\\$//",
"exec-if":"pgrep deluge",
"custom/torrentD":{
"format":" {} ",
"exec":"transmission-remote -l | tail -n+2 | grep Down | wc -l | sed 's/^0$//'",
"interval":180
},
"custom/delugeS":{
"format":"{}",
"exec":"timeout 10s deluge-console info | grep '\\[S\\]' | wc -l | sed s/^0\\$//",
"exec-if":"pgrep deluge",
"custom/torrentS":{
"format":" {} ",
"exec":"transmission-remote -l | grep Seeding| wc -l | sed 's/^0$//'",
"interval":180
}

View File

@ -44,8 +44,8 @@ window#waybar.empty {
#clock,
#network,
#battery,
#delugeD,
#delugeS,
#torrentD,
#torrentS,
#backlight,
#pulseaudio,
#custom-mail,
@ -54,7 +54,7 @@ window#waybar.empty {
#custom-weather
{
margin: 0 7px;
color: #ffffff;
color: #FFFFFF;
opacity:.7;
}