aboutsummaryrefslogtreecommitdiff
path: root/i3wm
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
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')
-rwxr-xr-xi3wm/.i3/apply_layout.sh3
-rw-r--r--i3wm/.i3/layout/half_stack.json39
2 files changed, 40 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"
diff --git a/i3wm/.i3/layout/half_stack.json b/i3wm/.i3/layout/half_stack.json
new file mode 100644
index 0000000..8f7ecc8
--- /dev/null
+++ b/i3wm/.i3/layout/half_stack.json
@@ -0,0 +1,39 @@
+{
+ "layout": "splith",
+ "nodes": [
+ {
+ "border": "pixel",
+ "percent": 0.5,
+ "swallows": [
+ {
+ "instance": ".*"
+ }
+ ]
+ },
+ {
+ "layout": "stacked",
+ "percent": 0.5,
+ "nodes": [
+ {
+ "border": "pixel",
+ "percent": 0.5,
+ "swallows": [
+ {
+ "instance": ".*"
+ }
+ ]
+ },
+ {
+ "border": "pixel",
+ "percent": 0.5,
+ "swallows": [
+ {
+ "instance": ".*"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
+