Re-arranged how terminals are launched, assigned workspaces to outputs, and autolaunch terminal on startup

This commit is contained in:
David Thurstenson 2017-04-19 08:43:52 -05:00
parent 0e87c2f9bd
commit e36f484451
2 changed files with 18 additions and 5 deletions

View File

@ -5,10 +5,13 @@ font pango:monospace 8
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec st -e tmux -u2 new -As0
set $tlterm st -c tl-main-term -e tmux -u2 new -As0
# start tl main terminal with $mod+Return
bindsym $mod+Return exec $tlterm
# always assign my main term to workspace 3 (only on startup)
assign [class="tl-main-term"] 3
# start a terminal
# start a secondary terminal with $mod+Shift+t
bindsym $mod+Shift+t exec i3-sensible-terminal
# kill focused window

View File

@ -1,9 +1,20 @@
set $maindisp eDP1
set $secondarydisp HDMI1
# Assign workspaces to specific outputs
workspace 3 output $secondarydisp
# go ahead and launch this term on i3 start (but not restart)
exec $tlterm
workspace 2 output $maindisp
workspace 1 output $maindisp
# Start i3bar to display a workspace bar
bar {
status_command i3status -c ~/.config/i3/status/$HOSTNAME.config
tray_output primary
output eDP1
output $maindisp
# $i3-theme-bar
}
@ -13,4 +24,3 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
# $i3-theme-window
# $i3-theme-window