make element default messenger in scripts

This commit is contained in:
Julian Mutter 2024-06-06 14:55:41 +02:00
parent 9f081ee5ed
commit 8ef5530145
3 changed files with 51 additions and 4 deletions

View File

@ -41,7 +41,7 @@ in {
recursive = true;
};
".config/i3/workspace-messaging.json".source =
./i3/workspace-chat-schildi-tele.json;
./i3/workspace-chat-element-tele.json;
".config/i3status-rust/config.toml".source = ./i3status-rust/config.toml;
};

View File

@ -19,11 +19,9 @@ start_program()
}
i3-msg 'workspace 9; append_layout ~/.config/i3/workspace-messaging.json'
start_program schildichat-desktop
start_program element-desktop
sleep 0.1
start_program telegram-desktop
sleep 0.1
start_program rocketchat-desktop
sleep 0.1
start_program thunderbird
sleep 0.1

View File

@ -0,0 +1,49 @@
// vim:ts=4:sw=4:et
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 996,
"width": 937,
"x": 1934,
"y": 40
},
"marks": [],
"name": "Element",
"percent": 0.5,
"swallows": [
{
"class": "^Element$"
// "instance": "^Element$",
// "machine": "^julian\\-aspi$",
// "title": "^Element$",
// "window_role": "^browser\\-window$"
}
],
"type": "con"
}
{
"border": "none",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 1026,
"width": 941,
"x": 2887,
"y": 12
},
"marks": [],
"name": "Telegram",
"percent": 0.5,
"swallows": [
{
"class": "^TelegramDesktop$"
// "instance": "^telegram\\-desktop$",
// "machine": "^julian\\-aspi$",
// "title": "^Telegram\\ \\(71\\)$"
}
],
"type": "con"
}