Add new screen setup

This commit is contained in:
finga 2023-04-19 15:37:58 +02:00
parent ea172a8c6d
commit 63d1d56ee6

View file

@ -200,8 +200,9 @@ client.focused #000000 #009900 #ffffff #ff0000
client.unfocused #000000 #005500 #000000 #ff0000 client.unfocused #000000 #005500 #000000 #ff0000
# use variables for screens # use variables for screens
set $screen0 "DP-1" set $screen0 "eDP-1"
set $screen1 "HDMI-2" set $screen1 "DP-1-8"
set $screen2 "DP-1-1"
# Start i3bar to display a workspace bar (plus the system information # Start i3bar to display a workspace bar (plus the system information
# i3status-rust finds out, if available) # i3status-rust finds out, if available)
@ -222,8 +223,9 @@ bar {
#client.orientation #ff0000 #client.orientation #ff0000
} }
} }
bar { bar {
status_command i3status-rs ~/.config/i3status-rust/secondary.toml status_command i3status-rs
font pango:DejaVu Sans Mono, forkawesome 8 font pango:DejaVu Sans Mono, forkawesome 8
position top position top
tray_output primary tray_output primary
@ -240,14 +242,32 @@ bar {
} }
} }
workspace $ws1 output $screen0 bar {
workspace $ws2 output $screen0 status_command i3status-rs ~/.config/i3status-rust/secondary.toml
workspace $ws3 output $screen0 font pango:DejaVu Sans Mono, forkawesome 8
workspace $ws4 output $screen0 position top
workspace $ws5 output $screen0 tray_output primary
workspace_buttons yes
mode dock
modifier $mod
output $screen2
workspace $ws10 output $screen1 colors {
workspace $ws9 output $screen1 statusline #00ff00
workspace $ws8 output $screen1 focused_workspace #00cc00 #00ff00 #000000
workspace $ws7 output $screen1 inactive_workspace #00cc00 #008b00 #cccccc
workspace $ws6 output $screen1 #client.orientation #ff0000
}
}
workspace $ws1 output $screen1
workspace $ws2 output $screen1
workspace $ws3 output $screen1
workspace $ws4 output $screen1
workspace $ws5 output $screen1
workspace $ws6 output $screen2
workspace $ws7 output $screen2
workspace $ws8 output $screen2
workspace $ws9 output $screen2
workspace $ws10 output $screen0