summaryrefslogtreecommitdiffstats
path: root/i3
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-07-02 02:15:58 -0400
committerJesse Luehrs <doy@tozt.net>2014-07-02 02:17:59 -0400
commit23b40e87589b83bde153d4bb89a7d5f0cbf5b0f6 (patch)
tree28be34648985a8832c340f8644f87dcb1ecb37d3 /i3
parentf9f49259414bf137eaf9b78109d2a95368d4bbc0 (diff)
downloadconf-23b40e87589b83bde153d4bb89a7d5f0cbf5b0f6.tar.gz
conf-23b40e87589b83bde153d4bb89a7d5f0cbf5b0f6.zip
use the saved layout support in new i3
Diffstat (limited to 'i3')
-rw-r--r--i3/browser-workspace.json18
-rw-r--r--i3/config3
-rw-r--r--i3/terminal-workspace.json109
3 files changed, 130 insertions, 0 deletions
diff --git a/i3/browser-workspace.json b/i3/browser-workspace.json
new file mode 100644
index 0000000..d16c910
--- /dev/null
+++ b/i3/browser-workspace.json
@@ -0,0 +1,18 @@
+{
+ "border": "pixel",
+ "floating": "auto_off",
+ "geometry": {
+ "height": 1056,
+ "width": 1918,
+ "x": 0,
+ "y": 0
+ },
+ "name": "Firefox",
+ "percent": 1,
+ "swallows": [
+ {
+ "class": "^Firefox$"
+ }
+ ],
+ "type": "con"
+}
diff --git a/i3/config b/i3/config
index 3dd659b..c434358 100644
--- a/i3/config
+++ b/i3/config
@@ -115,3 +115,6 @@ bar {
status_command ~/.bin/status
font xft:DejaVuSansMono 7
}
+
+exec --no-startup-id "i3-msg 'workspace 6; append_layout .i3/browser-workspace.json'"
+exec --no-startup-id "i3-msg 'workspace 5; append_layout .i3/terminal-workspace.json'"
diff --git a/i3/terminal-workspace.json b/i3/terminal-workspace.json
new file mode 100644
index 0000000..7b565c1
--- /dev/null
+++ b/i3/terminal-workspace.json
@@ -0,0 +1,109 @@
+{
+ "border": "pixel",
+ "floating": "auto_off",
+ "layout": "splitv",
+ "percent": 0.295,
+ "type": "con",
+ "nodes": [
+ {
+ "border": "pixel",
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "name": "main:0:zsh - \"doy@lance:~\"",
+ "percent": 0.333333333333333,
+ "swallows": [
+ {
+ "instance": "^urxvt$"
+ }
+ ],
+ "type": "con"
+ },
+ {
+ "border": "pixel",
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "name": "work:0:zsh - \"doy@lance:~/work\"",
+ "percent": 0.333333333333333,
+ "swallows": [
+ {
+ "instance": "^urxvt$"
+ }
+ ],
+ "type": "con"
+ },
+ {
+ "border": "pixel",
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "name": "misc:0:zsh - \"doy@lance:~\"",
+ "percent": 0.333333333333333,
+ "swallows": [
+ {
+ "instance": "^urxvt$"
+ }
+ ],
+ "type": "con"
+ }
+ ]
+}
+
+{
+ "border": "pixel",
+ "floating": "auto_off",
+ "layout": "splitv",
+ "percent": 0.705,
+ "type": "con",
+ "nodes": [
+ {
+ "border": "pixel",
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "name": "chat:0:WeeChat 0.4.3 - \"WeeChat 0.4.3\"",
+ "percent": 0.5,
+ "swallows": [
+ {
+ "instance": "^urxvt$"
+ }
+ ],
+ "type": "con"
+ },
+ {
+ "border": "pixel",
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "name": "docs:0:zsh - \"doy@lance:~\"",
+ "percent": 0.5,
+ "swallows": [
+ {
+ "instance": "^urxvt$"
+ }
+ ],
+ "type": "con"
+ }
+ ]
+}