Browse Source

Use more informative function name

Alois Mahdal 7 years ago
parent
commit
45b9e697a0
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      dotfiles/i3/bin/i3staplus

+ 3
- 3
dotfiles/i3/bin/i3staplus View File

2
 
2
 
3
 # prepend i3status with more stuff
3
 # prepend i3status with more stuff
4
 
4
 
5
-mkfield() {
5
+kb_layout() {
6
     local layout
6
     local layout
7
     local color
7
     local color
8
     layout=$(
8
     layout=$(
22
     do
22
     do
23
         read line
23
         read line
24
         case $line in
24
         case $line in
25
-            '[{'*)  line="[$(mkfield),{${line#\[\{}" ;;
26
-            ',[{'*) line=",[$(mkfield),{${line#,\[\{}" ;;
25
+            '[{'*)  line="[$(kb_layout),{${line#\[\{}" ;;
26
+            ',[{'*) line=",[$(kb_layout),{${line#,\[\{}" ;;
27
         esac
27
         esac
28
         echo "$line"
28
         echo "$line"
29
     done
29
     done