From 33a96778e5c869fe97a13279b8d90750240e336a Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 29 Mar 2021 19:22:52 +0200 Subject: [PATCH] Add sleep for layouts --- arch-config/.config/i3/scripts/layout-default.sh | 10 ++++++++++ arch-config/.config/i3/scripts/layout-work.sh | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/arch-config/.config/i3/scripts/layout-default.sh b/arch-config/.config/i3/scripts/layout-default.sh index 65db45ae..724d9e9e 100755 --- a/arch-config/.config/i3/scripts/layout-default.sh +++ b/arch-config/.config/i3/scripts/layout-default.sh @@ -2,14 +2,24 @@ i3-msg 'workspace 1; exec kitty' +sleep 0.5 + i3-msg 'workspace 2; layout tabbed; exec firefox' +sleep 0.5 + i3-msg 'workspace 2; layout tabbed; exec thunderbird' +sleep 0.5 + i3-msg 'workspace 2; layout tabbed; exec discord' +sleep 0.5 + #i3-msg 'workspace 2; layout tabbed; exec element-desktop' i3-msg 'workspace 2; layout tabbed; exec telegram-desktop' +sleep 0.5 + i3-msg 'mode "default"' diff --git a/arch-config/.config/i3/scripts/layout-work.sh b/arch-config/.config/i3/scripts/layout-work.sh index 76ebab1d..e9fee7ab 100755 --- a/arch-config/.config/i3/scripts/layout-work.sh +++ b/arch-config/.config/i3/scripts/layout-work.sh @@ -2,14 +2,26 @@ i3-msg 'workspace 1; exec kitty' +sleep 0.5 + i3-msg 'workspace 2; layout tabbed; exec firefox' +sleep 0.5 + i3-msg 'workspace 2; layout tabbed; exec thunderbird' +sleep 0.5 + i3-msg 'workspace 2; layout tabbed; exec slack' +sleep 0.5 + i3-msg 'workspace 2; layout tabbed; exec teams' +sleep 0.5 + i3-msg 'workspace 2; layout tabbed; exec p3x-onenote' +sleep 0.5 + i3-msg 'mode "default"'