aboutsummaryrefslogtreecommitdiff
path: root/i3wm/.i3/apply_layout.sh
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-05-26 21:26:25 +0200
committerAdrian Kummerlaender2015-05-26 21:26:25 +0200
commitf733845de850997a1b28ecb011c8374762abecf1 (patch)
treefa2f52c10033b9f40a497cf18e981638a32b8471 /i3wm/.i3/apply_layout.sh
parent726d363f38bbe487bd57e1e3ba711d4e532851bb (diff)
downloaddotfiles-f733845de850997a1b28ecb011c8374762abecf1.tar
dotfiles-f733845de850997a1b28ecb011c8374762abecf1.tar.gz
dotfiles-f733845de850997a1b28ecb011c8374762abecf1.tar.bz2
dotfiles-f733845de850997a1b28ecb011c8374762abecf1.tar.lz
dotfiles-f733845de850997a1b28ecb011c8374762abecf1.tar.xz
dotfiles-f733845de850997a1b28ecb011c8374762abecf1.tar.zst
dotfiles-f733845de850997a1b28ecb011c8374762abecf1.zip
Added new "half_stack" layout and fixed apply script
* newlines were not forwarded correctly and as such the script only supported a single layout
Diffstat (limited to 'i3wm/.i3/apply_layout.sh')
-rwxr-xr-xi3wm/.i3/apply_layout.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/i3wm/.i3/apply_layout.sh b/i3wm/.i3/apply_layout.sh
index 4ea80b5..1398ff9 100755
--- a/i3wm/.i3/apply_layout.sh
+++ b/i3wm/.i3/apply_layout.sh
@@ -2,7 +2,6 @@
source ~/.dmenurc
-available_layouts=$(ls -A1 ~/.i3/layout/)
-selected_layout=$(echo $available_layouts | eval "dmenu $DMENU")
+selected_layout=$(ls -A1 ~/.i3/layout/ | eval "dmenu $DMENU")
i3-msg "append_layout $(pwd)/.i3/layout/$selected_layout"