diff --git a/avdd b/avdd index a110b47..3542f50 100755 --- a/avdd +++ b/avdd @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash USAGE=" USAGE: avdd [='cpu mem bl vol-amixer bat dt'|-h|-[-]help] @@ -38,7 +38,7 @@ EXAMPLES: avdd 'vol-amixer dt' '[<' '<' '>' '>]' & " -DEFAULT_MOD_LIST='cpu mem bl vol-amixer bat dt' +DEFAULT_MOD_LIST='cpu mem vol-amixer bat dt' DEFAULT_PRE=' ' DEFAULT_SEP_L='| ' DEFAULT_SEP_R=' ' diff --git a/avds b/avds index 3409bed..d050ea0 100755 --- a/avds +++ b/avds @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash USAGE=" USAGE: avds [] [] diff --git a/mod/bat b/mod/bat index c43f5a8..666fd4d 100755 --- a/mod/bat +++ b/mod/bat @@ -1,11 +1,11 @@ -#!/bin/bash +#!/usr/bin/env bash mod_bat () { # Customizable configuration constants local -r DEFAULT_CNT=1 - local -r DEFAULT_PRE_PLG=' ' - local -r DEFAULT_PRE_UPLG=' ' - local -r DEFAULT_PRE_UNK=' ' + local -r DEFAULT_PRE_PLG=$'\u26A1 ' + local -r DEFAULT_PRE_UPLG=$'\u2755 ' + local -r DEFAULT_PRE_UNK='?? ' local -r DEFAULT_SUF='%' local -r cnt="${1:-${DEFAULT_CNT}}" diff --git a/mod/bl b/mod/bl index c1bc7a6..5c77ae0 100755 --- a/mod/bl +++ b/mod/bl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash mod_bl () { # Customizable configuration constants diff --git a/mod/cpu b/mod/cpu index eb4f8c0..af56983 100755 --- a/mod/cpu +++ b/mod/cpu @@ -1,8 +1,8 @@ -#!/bin/bash +#!/usr/bin/env bash mod_cpu () { # Customizable configuration constants - local -r DEFAULT_PRE=' ' + local -r DEFAULT_PRE=$'\U0001F7E9 ' local -r DEFAULT_SUF='' local -r pre="${1-${DEFAULT_PRE}}" diff --git a/mod/dt b/mod/dt index b9696ae..49bb3f4 100755 --- a/mod/dt +++ b/mod/dt @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash mod_dt () { # Customizable configuration constants diff --git a/mod/mem b/mod/mem index 0a715cd..b60ebfd 100755 --- a/mod/mem +++ b/mod/mem @@ -1,8 +1,8 @@ -#!/bin/bash +#!/usr/bin/env bash mod_mem () { # Customizable configuration constants - local -r DEFAULT_PRE=' ' + local -r DEFAULT_PRE=$'\U0001F9E0 ' local -r DEFAULT_SUF='%' local -r pre="${1-${DEFAULT_PRE}}" diff --git a/mod/vol-amixer b/mod/vol-amixer index 15c59e4..e6a6d11 100755 --- a/mod/vol-amixer +++ b/mod/vol-amixer @@ -1,12 +1,12 @@ -#!/bin/bash +#!/usr/bin/env bash # Requires amixer from the alsa-utils package mod_vol_amixer () { # Customizable configuration constants - local -r DEFAULT_PRE_LOW=' ' - local -r DEFAULT_PRE_HI=' ' - local -r DEFAULT_PRE_MUTE=' ' + local -r DEFAULT_PRE_LOW=$'\U0001F508 ' + local -r DEFAULT_PRE_HI=$'\U0001F50A ' + local -r DEFAULT_PRE_MUTE=$'\U0001F507 ' local -r DEFAULT_SUF='%' local -r pre_low="${1-${DEFAULT_PRE_LOW}}" diff --git a/rpid b/rpid index fe2897b..4e808eb 100755 --- a/rpid +++ b/rpid @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash USAGE=' USAGE: rpid [=login] diff --git a/util b/util index 5ae1cf4..03eb36c 100644 --- a/util +++ b/util @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [[ -v IS_SOURCED_UTIL ]]; then return 0; fi IS_SOURCED_UTIL=1