浏览代码

Fixed i3-layout issue

Samuel W. Flint 9 年之前
父节点
当前提交
8c00acbb6e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      i3-layout

+ 1 - 1
i3-layout

@@ -36,7 +36,7 @@ function apply-workspace {
 function with-external-completion {
     if [[ -e `which rofi` ]] ; then
         LAYOUT=`list-workspaces | rofi -dmenu -p "workspace layout:"`
-
+        [[ $LAYOUT != "" ]] && apply-workspace
     else
         LAYOUT=`list-workspaces | dmenu -p "workspace layout:"`
         [[ $LAYOUT != "" ]] && apply-workspace