From ac86f62689916bce5c2192558bd3395cc0f71f75 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Wed, 30 Oct 2019 14:24:48 -0400 Subject: [PATCH] Fix naming, setup of startup terminal --- .config/i3/config | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index ab48d1b..2dacf3a 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -135,15 +135,17 @@ for_window [class="Bitwarden"] move position center exec --no-startup-id i3-msg 'exec firefox' for_window [class="firefox"] move to workspace number $ws96 -# Passing -n to urxvt forces Xorg to default the WM_NAME to tmux -# Only this instance of urxvt will have that WM_NAME +# Passing -n to urxvt forces Xorg to default the WM_ICON_NAME to tmux +# Only this instance of urxvt will have that WM_ICON_NAME # Prevents for_window from acting on new terminals -exec --no-startup-id i3-msg 'exec urxvt -n sterm -e tmux -u' -for_window [title="tmux"] move to workspace number $ws95 -for_window [title="tmux"] floating enable -for_window [title="tmux"] resize set height 700 -for_window [title="tmux"] resize set width 1000 -for_window [title="tmux"] move position center +# Passing -T to urxvt sets WM_NAME and WM_ICON_NAME, if not set in a later argument +# Use -T below to title the startup terminal and assign properties to it +exec --no-startup-id i3-msg 'exec urxvt -T origin -e tmux -u' +for_window [title="origin"] move to workspace number $ws95 +for_window [title="origin"] floating enable +for_window [title="origin"] resize set height 700 +for_window [title="origin"] resize set width 1000 +for_window [title="origin"] move position center # Enable popup calendar floating window for polybar # This only works properly on the primary Xdisplay?