#!/usr/bin/env bash
-# Generates lolcated logo for my shell rc
+# Generates lolcated logo and fortune for my shell rc
[[ -d ~/.local/share/zsh/lolcat/ ]] || mkdir -p ~/.local/share/zsh/lolcat
+rm -rf ~/.local/share/zsh/lolcat/*
for (( i = 0; i < $1 ; i++ )); do
cat ~/Code/personal-logo/ascii/ascii-small-white | lolcat --force > ~/.local/share/zsh/lolcat/$i
#!/usr/bin/env bash
+# Sends a notification with battery level and time
function time_set() {
date +%A", "%b" "%e", "%r
#!/usr/bin/env sh
+# Grabs tweets and writes them to a file
+
FILE=/root/tweets/index.html
LOGFILE=/root/tweets/cron.log
> $FILE
+++ /dev/null
-#!/bin/sh
-# ufetch-armaan. My customized version of ufetch that doesn't print the ascii
-# art, and focuses on information that changes often. Ufetch was written
-# by jschx (Joe Schillinger), and is ISC licensed.
-# https://gitlab.com/jschx/ufetch
-
-## INFO
-host="$(cat /etc/hostname | head -n 1)"
-os="$(cat /etc/os-release | grep "PRETTY_NAME" | cut -d '"' -f 2)"
-kernel="$(uname -sr)"
-uptime="$(uptime -p | sed 's/up //')"
-date="$(date +%Y-%m-%e)"
-time="$(date +%r)"
-locip="$(ip addr | grep "/24" | cut -d ' ' -f 6)"
-
-## DEFINE COLORS
-bold='\033[1m'
-white='\033[0;37m'
-reset='\033[0m'
-
-lc="${reset}${bold}${white}" # labels
-nc="${reset}${bold}${white}" # user and hostname
-ic="${reset}" # info
-
-## OUTPUT
-printf "${nc}${USER}${ic}@${nc}${host}${reset}
-${lc}OS ${ic}${os}${reset}
-${lc}KERNEL ${ic}${kernel}${reset}
-${lc}UPTIME ${ic}${uptime}${reset}
-${lc}DATE ${ic}${date}${reset}
-${lc}TIME ${ic}${time}${reset}
-"
--- /dev/null
+#!/usr/bin/env sh
+# ufetch-armaan. My customized version of ufetch that doesn't print the ascii
+# art, and focuses on information that changes often. Ufetch was written
+# by jschx (Joe Schillinger), and is ISC licensed.
+# https://gitlab.com/jschx/ufetch
+
+## INFO
+host="$(cat /etc/hostname)"
+os="Arch Linux"
+kernel="$(uname -sr)"
+uptime="$(uptime -p | sed 's/up //')"
+date="$(date +%Y-%m-%e)"
+time="$(date +%r)"
+locip="$(ip addr | grep "/24" | cut -d ' ' -f 6)"
+
+## DEFINE COLORS
+bold='\033[1m'
+white='\033[0;37m'
+reset='\033[0m'
+
+lc="${reset}${bold}${white}" # labels
+nc="${reset}${bold}${white}" # user and hostname
+ic="${reset}" # info
+
+## OUTPUT
+printf "${nc}${USER}${ic}@${nc}${host}${reset}
+${lc}OS ${ic}${os}${reset}
+${lc}KERNEL ${ic}${kernel}${reset}
+${lc}UPTIME ${ic}${uptime}${reset}
+${lc}DATE ${ic}${date}${reset}
+${lc}TIME ${ic}${time}${reset}
+"
--- /dev/null
+#!/usr/bin/env sh
+# ufetch-armaan. My customized version of ufetch that doesn't print the ascii
+# art, and focuses on information that changes often. Ufetch was written
+# by jschx (Joe Schillinger), and is ISC licensed.
+# https://gitlab.com/jschx/ufetch
+
+## INFO
+host="$(hostname)"
+os="Debian Unstable"
+kernel="$(uname -sr)"
+uptime="$(uptime -p | sed 's/up //')"
+date="$(date +%Y-%m-%e)"
+time="$(date +%r)"
+locip="$(ip addr | grep "/24" | cut -d ' ' -f 6)"
+
+## DEFINE COLORS
+bold='\033[1m'
+white='\033[0;37m'
+reset='\033[0m'
+
+lc="${reset}${bold}${white}" # labels
+nc="${reset}${bold}${white}" # user and hostname
+ic="${reset}" # info
+
+## OUTPUT
+printf "${nc}${USER}${ic}@${nc}${host}${reset}
+${lc}OS ${ic}${os}${reset}
+${lc}KERNEL ${ic}${kernel}${reset}
+${lc}UPTIME ${ic}${uptime}${reset}
+${lc}DATE ${ic}${date}${reset}
+${lc}TIME ${ic}${time}${reset}
+"