Skip to content

Commit

Permalink
refactor: clearer intent in flags
Browse files Browse the repository at this point in the history
  • Loading branch information
cybardev authored Nov 17, 2023
1 parent 39285d4 commit 8ef60ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cutefetch
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ init() {
readonly kern="$(uname -r | cut -d '-' -f1)"
readonly shell=$(basename $SHELL)
readonly res="$(xdpyinfo | grep 'dimensions' | grep -oE '[0-9]+x[0-9]+' | head -n 1)"
readonly net="$(nmcli -g common | grep -m 1 connected | cut -f 4- -d ' ')"
readonly net="$(nmcli -g common | grep -m 1 connected | cut -f4- -d ' ')"
[[ -z $net ]] && readonly net="no wifi"
;;
Darwin*)
Expand Down

0 comments on commit 8ef60ff

Please sign in to comment.