Browse Source

Fixed i3-layout issue

Samuel W. Flint 7 years ago
parent
commit
8c00acbb6e
1 changed files with 1 additions and 1 deletions
  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