aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/bartorrentstatus
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-10-25 18:04:04 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-10-25 18:04:04 +0300
commit49889fc2619e28e0f1e7501551d80e3d6619e30a (patch)
tree75e7700b223a1d54d980f63a3527de411736f56c /dotfiles/.local/bin/bartorrentstatus
parent00057555445c6ecbce7c415064c6263c98f8e0fd (diff)
downloadswayrice-49889fc2619e28e0f1e7501551d80e3d6619e30a.tar.gz
swayrice-49889fc2619e28e0f1e7501551d80e3d6619e30a.zip
Transmission daemon management
* Waybar module to display whether transmission-daemon is running * Sway shortcuts for transmission-daemon and its gtk front-end
Diffstat (limited to 'dotfiles/.local/bin/bartorrentstatus')
-rwxr-xr-xdotfiles/.local/bin/bartorrentstatus9
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/bartorrentstatus b/dotfiles/.local/bin/bartorrentstatus
new file mode 100755
index 0000000..637080b
--- /dev/null
+++ b/dotfiles/.local/bin/bartorrentstatus
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# TODO: Count how many torrents are downloading and how many are uploading
+
+if [ -f "$HOME/.cache/transdaemonpid" ] ; then
+ echo ""
+fi
+
+printf ""