aboutsummaryrefslogtreecommitdiff
path: root/bar.sh
diff options
context:
space:
mode:
authorArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-10-24 17:27:20 +0100
committerArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-10-24 17:27:20 +0100
commit64300140a1a59b30dabc577eea7e26ffc8f3b4a8 (patch)
tree984a7711631281b9ae20a0da087322c3c038a062 /bar.sh
parentb4fb27fd60a64c608319c97826ec2f09f5c26732 (diff)
Restructuring
Moved bar.sh to /usr/share/dwmbar. Modules are now only in /usr/share/dwmbar. Custom modules folder is now in .config/dwmbar. This will allow for paralellised modules down the line.
Diffstat (limited to 'bar.sh')
-rwxr-xr-xbar.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/bar.sh b/bar.sh
index 44c4ec0..f9866f4 100755
--- a/bar.sh
+++ b/bar.sh
@@ -16,13 +16,14 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-CONFIG_FILE="/home/$USER/.config/dwmbar/config"
-
-source $CONFIG_FILE
+MODULES_DIR="/usr/share/dwmbar/modules/"
OUTPUT_CACHE="/home/$USER/.config/dwmbar/.cache/"
OUTPUT=""
+CONFIG_FILE="/home/$USER/.config/dwmbar/config"
+source $CONFIG_FILE
+
INTERNET=1 #0 being true
get_internet()