Added chats

This commit is contained in:
julian 2020-11-23 16:12:05 +01:00
parent 719ee738f3
commit f588a7e5ee
2 changed files with 86 additions and 5 deletions

View File

@ -114,7 +114,7 @@ set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9: Telegram"
set $ws9 "9: Chat"
set $ws10 "10: Mail"
# switch to workspace
@ -248,13 +248,16 @@ default_border normal
default_floating_border normal
assign [class="firefox" title="Mozilla Firefox$"] workspace $ws1
for_window [class="firefox"] focus
assign [class="TelegramDesktop"] workspace $ws9
for_window [class="TelegramDesktop"] focus
assign [class="Signal"] workspace $ws9
assign [class="Rocket.Chat"] workspace $ws9
assign [class="Thunderbird"] workspace $ws10
for_window [class="Thunderbird"] focus
assign [class="zoom"] workspace $ws5
for_window [class="firefox"] focus
for_window [class="TelegramDesktop"] focus
for_window [class="Thunderbird"] focus
for_window [title="Manjaro Settings Manager"] floating enable
for_window [class="Pamac-manager"] floating enable
for_window [class="Pamac-updater"] floating enable
@ -262,8 +265,12 @@ for_window [class="Pamac-updater"] floating enable
#for_window [class="Thunderbird" instance="Msgcompose"] floating enable
########## Autostart applications ##########
exec --no-startup-id "i3-msg 'workspace 9: Chat; append_layout ~/.config/i3/workspace-chat.json'"
exec firefox
exec thunderbird
exec chat.rocket.RocketChat
exec signal-desktop
exec telegram-desktop
exec --no-startup-id nm-applet
@ -280,4 +287,5 @@ exec --no-startup-id start-pulseaudio-x11
# Default workspaces at startup (no need because autostart applications get always focused)
#exec --no-startup-id i3-msg workspace $ws1
#exec --no-startup-id i3-msg workspace $ws10
#exec --no-startup-id i3-msg workspace $ws1

73
i3/workspace-chat.json Normal file
View File

@ -0,0 +1,73 @@
// vim:ts=4:sw=4:et
{
// tabbed split container with 3 children
"border": "normal",
"floating": "auto_off",
"layout": "tabbed",
"percent": null,
"type": "con",
"nodes": [
{
"border": "none",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 1026,
"width": 560,
"x": 1680,
"y": 24
},
"name": "Telegram",
"percent": 0.333333333333333,
"swallows": [
{
"class": "^TelegramDesktop$",
"instance": "^telegram\\-desktop$"
}
],
"type": "con"
},
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 1002,
"width": 800,
"x": 2242,
"y": 46
},
"name": "Signal",
"percent": 0.333333333333333,
"swallows": [
{
"class": "^Signal$",
"instance": "^signal$"
}
],
"type": "con"
},
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 1002,
"width": 556,
"x": 2802,
"y": 46
},
"name": "Rocket Chat",
"percent": 0.333333333333333,
"swallows": [
{
"class": "^Rocket\\.Chat$",
"instance": "^rocket\\.chat$"
}
],
"type": "con"
}
]
}