Browse Source

Use 'sh'

For portability, sh allows the script to run on other shells set by the user. This has been tested on Bash and Posix sh and still functions using them.
patch-fontkeys
Joe Standring 4 years ago
committed by GitHub
parent
commit
dfa5419084
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bar-functions/dwm_wpa.sh

+ 1
- 1
bar-functions/dwm_wpa.sh View File

@ -1,4 +1,4 @@
#!/bin/mksh
#!/bin/sh
dwm_wpa() {
CONSTATE=$(wpa_cli status | sed -n '/wpa_state/s/^.*=//p')


Loading…
Cancel
Save