Quellcode durchsuchen

Use more informative function name

Alois Mahdal vor 7 Jahren
Ursprung
Commit
45b9e697a0
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3
    3
      dotfiles/i3/bin/i3staplus

+ 3
- 3
dotfiles/i3/bin/i3staplus Datei anzeigen

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