Skip to content

Commit b7871d7

Browse files
feat/ Standardized shebangs to use env
1 parent 4856376 commit b7871d7

File tree

21 files changed

+22
-22
lines changed

21 files changed

+22
-22
lines changed

bandwidth/bandwidth

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright (C) 2012 Stefan Breunig <[email protected]>
33
# Copyright (C) 2014 kaueraal
44
# Copyright (C) 2015 Thiago Perrotta <perrotta dot thiago at poli dot ufrj dot br>

calendar/calendar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /bin/sh
1+
#!/usr/bin/env sh
22

33
WIDTH=${WIDTH:-200}
44
HEIGHT=${HEIGHT:-200}

cpu_usage/cpu_usage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
#
33
# Copyright 2014 Pierre Mavro <[email protected]>
44
# Copyright 2014 Vivien Didelot <[email protected]>

cpu_util_detailed/cpu_util_detailed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usrbin/env bash
22
# cpu_util_detailed
33
# Meant for usage as an i3blocks blocklet.
44
# It reports detailed CPU utilization in colors using pango markup.

dimmer/dimmer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# dimmer is a script that changes hex color codes to reduce brightness
44
# Copyright (C) 2016 Anton Karmanov <[email protected]>

disk/disk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env sh
22
# Copyright (C) 2014 Julien Bonjean <[email protected]>
33

44
# This program is free software: you can redistribute it and/or modify

docker/docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Number of docker containers running
44
count=$(docker ps -q | wc -l | sed -r 's/^0$//g')

essid/essid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright (C) 2018 borgified <[email protected]>
33
# Copyright (C) 2014 Alexander Keller <[email protected]>
44

go/go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

3-
go version 2>/dev/null | awk '{ gsub("go", ""); print $2 }'
3+
go version 2>/dev/null | awk '{ gsub("go", ""); print $2 }'

gpu-load/gpu-load

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/perl
1+
#!/usr/bin/env perl
22

33
# This program is free software: you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License as published by

iface/iface

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright (C) 2014 Julien Bonjean <[email protected]>
33
# Copyright (C) 2014 Alexander Keller <[email protected]>
44

kubernetes/kubernetes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
KCONTEXT=$(kubectl config current-context 2>/dev/null)
33
if [[ $?=="0" ]]; then
44
CC=$(kubectl config view -ojsonpath='{..current-context}')

load_average/load_average

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env sh
22
# Copyright (C) 2014 Julien Bonjean <[email protected]>
33

44
# This program is free software: you can redistribute it and/or modify

memory/memory

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env sh
22
# Copyright (C) 2014 Julien Bonjean <[email protected]>
33

44
# This program is free software: you can redistribute it and/or modify

nm-vpn/nm-vpn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env sh
22
init_color=${init_color:-#FFFF00}
33
on_color=${on_color:-#00FF00}
44
export init_color on_color

rofi-calendar/rofi-calendar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /bin/sh
1+
#!/usr/bin/env sh
22

33
DATEFTM="${DATEFTM:-+%a. %d. %b. %Y}"
44
SHORTFMT="${SHORTFMT:-+%d.%m.%Y}"

ssid/ssid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright (C) 2020 hseg <[email protected]>
33
# Copyright (C) 2014 Alexander Keller <[email protected]>
44

tahoe-lafs/tahoe-lafs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
NODE_URL=${BLOCK_INSTANCE%/}
44
DISK_AVAIL=$(curl -s "$NODE_URL/statistics?t=json" 2>/dev/null| jq -r '.stats."storage_server.disk_avail"')

volume-pulseaudio/volume-pulseaudio

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Displays the default device, volume, and mute status for i3blocks
33

44
set -a

wifi/wifi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright (C) 2014 Alexander Keller <[email protected]>
33

44
# This program is free software: you can redistribute it and/or modify

xkb_layout/xkb_layout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env sh
22
# This script is supposed to be used as an i3blocks persistent blocklet.
33
# It outputs current keyboard layout, then waits for it to change in an infinite loop.
44
# Requires `xkb-switch` utility. Should work in any *sh.

0 commit comments

Comments
 (0)