Re-arranged how terminals are launched, assigned workspaces to outputs, and autolaunch terminal on startup
This commit is contained in:
parent
0e87c2f9bd
commit
e36f484451
|
@ -5,10 +5,13 @@ font pango:monospace 8
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
# start a terminal
|
set $tlterm st -c tl-main-term -e tmux -u2 new -As0
|
||||||
bindsym $mod+Return exec st -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
|
bindsym $mod+Shift+t exec i3-sensible-terminal
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
|
|
|
@ -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
|
# Start i3bar to display a workspace bar
|
||||||
bar {
|
bar {
|
||||||
status_command i3status -c ~/.config/i3/status/$HOSTNAME.config
|
status_command i3status -c ~/.config/i3/status/$HOSTNAME.config
|
||||||
tray_output primary
|
tray_output primary
|
||||||
output eDP1
|
output $maindisp
|
||||||
# $i3-theme-bar
|
# $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
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
|
||||||
|
|
||||||
# $i3-theme-window
|
# $i3-theme-window
|
||||||
# $i3-theme-window
|
|
||||||
|
|
Loading…
Reference in New Issue