Fixed media layout and startup

This commit is contained in:
jfm 2018-05-03 08:43:36 +02:00
parent 776d33b7fe
commit fef8875ec7
3 changed files with 18 additions and 48 deletions

View File

@ -4,8 +4,8 @@
# Set mod key (Mod1=<Alt>, Mod4=<Super>) # Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4 set $mod Mod4
# set default desktop layout (default is tiling) # set default desktop layout (default is tiling) <stacking|tabbed>
# workspace_layout tabbed <stacking|tabbed> workspace_layout stacking
# Configure border style <normal|1pixel|pixel xx|none|pixel> # Configure border style <normal|1pixel|pixel xx|none|pixel>
new_window pixel 1 new_window pixel 1

View File

@ -11,66 +11,37 @@
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
"name": "jfm@moerks: ~", "name": "newsbeuter",
"percent": 0.5, "percent": 0.5,
"swallows": [ "swallows": [
{ {
"class": "^URxvt$", "class": "^URxvt$",
"instance": "^tasks$" "instance": "^newsboat$"
} }
], ],
"type": "con" "type": "con"
}, },
{ {
"border": "pixel", "border": "pixel",
"current_border_width": 1,
"floating": "auto_off", "floating": "auto_off",
"layout": "splith", "geometry": {
"nodes": [ "height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "ncmpc",
"percent": 0.5,
"swallows": [
{ {
"border": "pixel", "class": "^URxvt$",
"current_border_width": 1, "title": "^ncmpcpp$"
"floating": "auto_off",
"geometry": {
"height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "newsbeuter",
"percent": 0.5,
"swallows": [
{
"class": "^URxvt$",
"instance": "^newsbeuter$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "ncmpc",
"percent": 0.5,
"swallows": [
{
"class": "^URxvt$",
"title": "^ncmpcpp$"
}
],
"type": "con"
} }
], ],
"percent": 0.5,
"type": "con" "type": "con"
} }
], ],
"percent": 0.5, "percent": 0.5,
"type": "con" "type": "con"
} }

View File

@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
. ~/.i3/env . ~/.i3/env
i3-msg "workspace 8:Media; append_layout ~/.i3/layouts/workspace8-media.json" i3-msg "workspace 8:Media; append_layout ~/.i3/layouts/workspace8-media.json"
i3-msg "workspace 8:Media; exec urxvt -name tasks" i3-msg "workspace 8:Media; exec urxvt -name newsboat -e newsboat"
i3-msg "workspace 8:Media; exec urxvt -name newsbeuter -e newsbeuter"
i3-msg "workspace 8:Media; exec urxvt -name ncmpcpp -e ncmpcpp" i3-msg "workspace 8:Media; exec urxvt -name ncmpcpp -e ncmpcpp"
i3-msg "workspace 8:Media; move workspace to output $LAPTOP" i3-msg "workspace 8:Media; move workspace to output $LAPTOP"