Merge pull request #59 from Bobobo-bo-Bo-bobo/shell_and_nitpicking

Don't enforce sh, nitpicking about HOME variable
This commit is contained in:
Aditya Shakya 2021-09-01 01:13:37 +05:30 committed by GitHub
commit 71351200da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -11,8 +11,8 @@ dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/powermenu.rasi" rofi_command="rofi -theme $dir/powermenu.rasi"
uptime=$(uptime -p | sed -e 's/up //g') uptime=$(uptime -p | sed -e 's/up //g')
cpu=$(sh ~/.config/rofi/bin/usedcpu) cpu=$($HOME/.config/rofi/bin/usedcpu)
memory=$(sh ~/.config/rofi/bin/usedram) memory=$($HOME/.config/rofi/bin/usedram)
# Options # Options
shutdown="" shutdown=""

View File

@ -11,8 +11,8 @@ dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/powermenu.rasi" rofi_command="rofi -theme $dir/powermenu.rasi"
uptime=$(uptime -p | sed -e 's/up //g') uptime=$(uptime -p | sed -e 's/up //g')
cpu=$(sh ~/.config/rofi/bin/usedcpu) cpu=$($HOME/.config/rofi/bin/usedcpu)
memory=$(sh ~/.config/rofi/bin/usedram) memory=$($HOME/.config/rofi/bin/usedram)
# Options # Options
shutdown="" shutdown=""

View File

@ -11,8 +11,8 @@ dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/powermenu.rasi" rofi_command="rofi -theme $dir/powermenu.rasi"
uptime=$(uptime -p | sed -e 's/up //g') uptime=$(uptime -p | sed -e 's/up //g')
cpu=$(sh ~/.config/rofi/bin/usedcpu) cpu=$($HOME/.config/rofi/bin/usedcpu)
memory=$(sh ~/.config/rofi/bin/usedram) memory=$($HOME/.config/rofi/bin/usedram)
# Options # Options
shutdown="" shutdown=""

View File

@ -11,8 +11,8 @@ dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/powermenu.rasi" rofi_command="rofi -theme $dir/powermenu.rasi"
uptime=$(uptime -p | sed -e 's/up //g') uptime=$(uptime -p | sed -e 's/up //g')
cpu=$(sh ~/.config/rofi/bin/usedcpu) cpu=$($HOME/.config/rofi/bin/usedcpu)
memory=$(sh ~/.config/rofi/bin/usedram) memory=$($HOME/.config/rofi/bin/usedram)
# Options # Options
shutdown="" shutdown=""