diff --git a/modules/home/i3/default.nix b/modules/home/i3/default.nix index 9864657..4cbe30e 100644 --- a/modules/home/i3/default.nix +++ b/modules/home/i3/default.nix @@ -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; }; diff --git a/modules/home/i3/i3/scripts/open-messaging b/modules/home/i3/i3/scripts/open-messaging index e09faf2..9b8c008 100755 --- a/modules/home/i3/i3/scripts/open-messaging +++ b/modules/home/i3/i3/scripts/open-messaging @@ -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 diff --git a/modules/home/i3/i3/workspace-chat-element-tele.json b/modules/home/i3/i3/workspace-chat-element-tele.json new file mode 100644 index 0000000..8462f47 --- /dev/null +++ b/modules/home/i3/i3/workspace-chat-element-tele.json @@ -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" +}