From 0b921ed49b9f0c170bed444570d91e2d9901483b Mon Sep 17 00:00:00 2001 From: zachir Date: Thu, 9 Feb 2023 21:21:48 -0600 Subject: fix /sbin/sh to /bin/sh --- battery | 2 +- clock | 2 +- cpu | 2 +- disk | 2 +- internet | 2 +- memory | 2 +- music | 2 +- nettraf | 2 +- volume | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/battery b/battery index fb5349c..28c0b36 100755 --- a/battery +++ b/battery @@ -1,4 +1,4 @@ -#!/sbin/sh +#!/bin/sh case $BLOCK_BUTTON in 2) notify-send "Battery module" "- : discharging diff --git a/clock b/clock index 81397af..cc6b0d9 100755 --- a/clock +++ b/clock @@ -1,4 +1,4 @@ -#!/sbin/sh +#!/bin/sh case $BLOCK_BUTTON in 1) notify-send "This Month" "$(cal --color=always | sed "s/..7m//;s/..27m/<\/spawn<\/b>/")" && notify-send "Appointments" "$(calcurse -D ~/.config/calcurse -d3)" ;; diff --git a/cpu b/cpu index 283cd40..5bdfd6b 100755 --- a/cpu +++ b/cpu @@ -1,4 +1,4 @@ -#!/sbin/sh +#!/bin/sh case $BLOCK_BUTTON in 1) notify-send "CPU hogs" "$(ps axch -o comm,%cpu --sort=-%cpu | head)\\n(100% per core)" ;; diff --git a/disk b/disk index abfb64d..e71a276 100755 --- a/disk +++ b/disk @@ -1,4 +1,4 @@ -#!/sbin/sh +#!/bin/sh location=${1:-/} diff --git a/internet b/internet index 5850a13..8dfd24f 100755 --- a/internet +++ b/internet @@ -1,4 +1,4 @@ -#!/sbin/sh +#!/bin/sh case $BLOCK_BUTTON in 1) "$TERMINAL" -e nmtui; pkill -RTMIN+4 dwmblocks ;; diff --git a/memory b/memory index e9f8b2b..8b81626 100755 --- a/memory +++ b/memory @@ -1,4 +1,4 @@ -#!/sbin/sh +#!/bin/sh case $BLOCK_BUTTON in 1) notify-send "Memory hogs" "$(ps axch -o cmd:15,%mem --sort=-%mem | head)" ;; diff --git a/music b/music index 2ec8aec..22a41c8 100755 --- a/music +++ b/music @@ -1,4 +1,4 @@ -#!/sbin/sh +#!/bin/sh filter() { if [ `pgrep -x mpd` ]; then diff --git a/nettraf b/nettraf index 4bd0850..ac43416 100755 --- a/nettraf +++ b/nettraf @@ -1,4 +1,4 @@ -#!/sbin/sh +#!/bin/sh # Module showing network traffic. Shows how much data has been received (RX) or # transmitted (TX) since the previous time this script ran. So if run every diff --git a/volume b/volume index 1c67faf..b2f6e37 100755 --- a/volume +++ b/volume @@ -1,4 +1,4 @@ -#!/sbin/sh +#!/bin/sh case $BLOCK_BUTTON in 1) -- cgit v1.2.3