Add dotfiles

This commit is contained in:
Gluk0zka 2024-06-02 14:02:06 +03:00
parent 49bfe1a4d3
commit b6e01a720b
52 changed files with 4701 additions and 0 deletions

23
dwmbar/modules/tor Executable file
View file

@ -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