浏览代码

Use more informative function name

Alois Mahdal 8 年前
父节点
当前提交
45b9e697a0
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      dotfiles/i3/bin/i3staplus

+ 3
- 3
dotfiles/i3/bin/i3staplus 查看文件

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