Skip to content

Instantly share code, notes, and snippets.

@Hubro
Created March 17, 2019 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hubro/c9cacdc95398629ba9163a1fc7add456 to your computer and use it in GitHub Desktop.
Save Hubro/c9cacdc95398629ba9163a1fc7add456 to your computer and use it in GitHub Desktop.
Example i3 layout that causes Slack to crash
{
// splitv split container with 2 children
"border": "normal",
"layout": "splitv",
"percent": 0.4,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 2,
"name": "Messenger",
"percent": 0.56,
"swallows": [
{
"class": "^Chromium$",
"instance": "^www\\.messenger\\.com$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 2,
"name": "WhatsApp",
"percent": 0.44,
"swallows": [
{
"class": "^Chromium$",
"instance": "^web\\.whatsapp\\.com$"
}
],
"type": "con"
}
]
}
{
// splitv split container with 2 children
"border": "normal",
"layout": "splitv",
"percent": 0.4,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 2,
"name": "Slack",
"percent": 0.56,
"swallows": [
{
"class": "^Slack$",
"tiling": true
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 2,
"name": "Viber",
"percent": 0.44,
"swallows": [
{
"class": "^ViberPC$"
}
],
"type": "con"
}
]
}
{
"border": "pixel",
"current_border_width": 2,
"name": "TeamSpeak 3",
"percent": 0.2,
"swallows": [
{
"class": "^TeamSpeak\\ 3$"
}
],
"type": "con"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment