dwm and dwmbar
This commit is contained in:
1 parent
307448edd3
commit
135fe92331
50 files changed
+1846
No files matched your search
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Prints if the tor service is enabled or not
|
||||
# Requires tor
|
||||
|
||||
TOR_ENABLED='ﴣ'
|
||||
TOR_DISABLED=''
|
||||
|
||||
get_tor()
|
||||
{
|
||||
status=$(systemctl is-active tor.service)
|
||||
|
||||
if [ "$status" == "active" ]
|
||||
then
|
||||
echo "$TOR_ENABLED"
|
||||
else
|
||||
:
|
||||
#echo "$TOR_DISABLED"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
get_tor
|
||||
Reference in new issue
Block a user