aboutsummaryrefslogtreecommitdiff
path: root/i3wm/.i3
diff options
context:
space:
mode:
Diffstat (limited to 'i3wm/.i3')
-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": ".*"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
+