exit
fi
-if acpi | grep -q '%' &> /dev/null; then
+if acpi | grep -q '%' &>/dev/null; then
export ISLAPTOP="true"
echo "laptop detected"
else
date="$date[$@] "
}
+# fix small graphical glitch on status bar startup
+xdotool key 'super+2'
+sleep 0.1
+xdotool key 'super+1'
+
# status bar loop
while :; do
if [ -e ~/.instantsilent ]; then
# fetches and installs program from this repo
gprogram() {
echo "installing $1"
- curl -s "$RAW/paperbenni/suckless/master/programs/$1" | sudo tee /usr/bin/$1 &>/dev/null
+ curl -s "$RAW/paperbenni/suckless/master/programs/$1" | sudo tee /usr/local/bin/$1 &>/dev/null
chmod +x /usr/bin/"$1"
}