瀏覽代碼

Demarcate the fake layouts

Samuel W. Flint 6 年之前
父節點
當前提交
e6a8d05364
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      i3-autorandr

+ 4 - 4
i3-autorandr

@@ -2,8 +2,8 @@
 
 function list_layouts () {
     autorandr 2>&1 | awk -e '{print $1}'
-    echo create
-    echo name-it
+    echo "*create*"
+    echo "*name-it*"
 }
 
 
@@ -15,9 +15,9 @@ fi
 
 if [[ $LAYOUT == "" ]] ; then
     echo Nothing to do.
-elif [[ $LAYOUT == "create" ]] ; then
+elif [[ $LAYOUT == "*create*" ]] ; then
     arandr
-elif [[ $LAYOUT == "name-it" ]] ; then
+elif [[ $LAYOUT == "*name-it*" ]] ; then
     NAME=$(rofi -dmenu -p 'name:')
     autorandr -s ${NAME}
 else