Lots: Miscellaneous style changes

This commit is contained in:
Salt 2018-09-16 12:18:41 -05:00
parent 5e7bb87950
commit 960fb298ff
6 changed files with 8 additions and 6 deletions

View File

@ -1,2 +1,2 @@
#!/bin/bash
#!/usr/bin/env bash
printf "%d %d %d\n" 0x${1:0:2} 0x${1:2:2} 0x${1:4:2}

5
fetch
View File

@ -1,5 +1,6 @@
#!/bin/sh
if `which neofetch > /dev/null 2>&1`; then
name="$(basename $0 .sh)"
if $(which neofetch > /dev/null 2>&1); then
neofetch\
--disable model resolution\
--block_range 0 15\
@ -7,5 +8,5 @@ if `which neofetch > /dev/null 2>&1`; then
--xoffset 4 --yoffset 4
scrot "$HOME/Pictures/Screenshots/neofetch-`date +%s`.png"
else
printf 'fetch: Neofetch is not installed; aborting\n'
printf "$name: Neofetch is not installed; aborting\n"
fi

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright (c) 2017 rehashedsalt/vintagesalt
#

View File

@ -1,4 +1,5 @@
#!/bin/sh
which notify-send > /dev/null 2>&1 || exit 1
notify-send -u low "Low Urgency Notification" "This is a simple test notification with low urgency. It's okay to ignore me, I guess."
notify-send -u normal "Normal Urgency Notification" "This is another simple test notification with normal urgency. My information will help you work."
notify-send -u critical "High Urgency Notification" "This notification really should grab your attention! It's important!"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright (c) 2017 rehashedsalt/vintagesalt
#

View File

@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash
#
# tubetop2
# Copyright (C) 2018 rehashedsalt <salt@lap-th-e560-0>