From 97f6733073c33ea80d086586dc0aa40da9f43b1d Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Sat, 22 Feb 2020 13:06:44 +0530 Subject: ... --- bin/.local/bin/dotstow | 21 ---------------- bin/.local/bin/fetch | 64 ------------------------------------------------ bin/.local/bin/gitit | 10 -------- bin/.local/bin/lock | 6 ----- bin/.local/bin/prime-run | 2 -- bin/.local/bin/unblock | 10 -------- 6 files changed, 113 deletions(-) delete mode 100755 bin/.local/bin/dotstow delete mode 100755 bin/.local/bin/fetch delete mode 100755 bin/.local/bin/gitit delete mode 100755 bin/.local/bin/lock delete mode 100755 bin/.local/bin/prime-run delete mode 100755 bin/.local/bin/unblock (limited to 'bin') diff --git a/bin/.local/bin/dotstow b/bin/.local/bin/dotstow deleted file mode 100755 index bcadc5e..0000000 --- a/bin/.local/bin/dotstow +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -# This script will Stow all the dotfiles located in the ~/dotfiles folder. -# The -R flag is used to force a 'restow' which will remove any existing symlinks before attempting to Stow. - -echo "Stowing Dotfiles..."; - -cd ~/dotfiles -for file in ~/dotfiles/*; do - # Only run Stow on the directories in the dotfiles folder and not the individual files. - # Using 'basename' strips the filepath from the directory name. - if [ -d ${file} ]; then - stow -R $(basename $file) - echo "$(basename $file) stowed."; - fi -done - -# Return back to the your PWD from before you ran the script -cd ~- - -echo 'All stowed'; diff --git a/bin/.local/bin/fetch b/bin/.local/bin/fetch deleted file mode 100755 index a82b673..0000000 --- a/bin/.local/bin/fetch +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -# -# ufetch-arch - tiny system info for arch - -## INFO - -# user is already defined -host="$(hostname)" -os='Arch Linux' -kernel="$(uname -sr)" -uptime="$(uptime -p | sed 's/up //')" -packages="$(pacman -Q | wc -l)" -shell="$(basename ${SHELL})" - -if [ -z "${WM}" ]; then - if [ "${XDG_CURRENT_DESKTOP}" ]; then - envtype='DE' - WM="${XDG_CURRENT_DESKTOP}" - elif [ "${DESKTOP_SESSION}" ]; then - envtype='DE' - WM="${DESKTOP_SESSION}" - else - envtype='WM' - WM="$(tail -n 1 "${HOME}/.xinitrc" | cut -d ' ' -f 2)" - fi -else - envtype='WM' -fi - -## DEFINE COLORS - -# probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" - -# you can change these -lc="${reset}${bold}${cyan}" # labels -nc="${reset}${bold}${cyan}" # user and hostname -ic="${reset}${bold}${white}" # info -c0="${reset}${bold}${cyan}" # first color -c1="${reset}${cyan}" # second color - -## OUTPUT - -cat <