Explorar el Código

Demarcate the fake layouts

Samuel W. Flint hace 6 años
padre
commit
e6a8d05364
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  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