Skip to content

Commit

Permalink
Merge pull request #163 from Schievel1/main
Browse files Browse the repository at this point in the history
changed getram scripts to use en_US.UTF-8 as locale for numbers
  • Loading branch information
Axarva authored Aug 28, 2022
2 parents 2409f59 + 84ca270 commit 0dcc719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/eww-1366/scripts/getram
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
LC_NUMERIC="en_US.UTF-8" printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
2 changes: 1 addition & 1 deletion config/eww-1920/scripts/getram
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
LC_NUMERIC="en_US.UTF-8" printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')

0 comments on commit 0dcc719

Please sign in to comment.