Fix polybar and screens
This commit is contained in:
@@ -231,6 +231,16 @@ exec --no-startup-id "chromium-browser"
|
||||
|
||||
for_window [class="Chromium"] move container to workspace 9
|
||||
|
||||
# Monitors
|
||||
# integrated
|
||||
set $monitor1 "eDP-1"
|
||||
# secondary
|
||||
set $monitor2 "HDMI-1"
|
||||
|
||||
workspace $ws10 output $monitor2
|
||||
|
||||
bindsym $mod+Ctrl+1 move workspace to output $monitor1
|
||||
bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
||||
# i3-gaps
|
||||
smart_gaps on
|
||||
gaps inner 10
|
||||
|
||||
@@ -12,6 +12,42 @@ inconsolata = "Inconsolata:pixelsize=12;0"
|
||||
|
||||
###############################################################################
|
||||
[bar/laptop]
|
||||
monitor = "eDP-1"
|
||||
enable-ipc = false
|
||||
|
||||
font-0 = ${font.inconsolata}
|
||||
|
||||
bottom = false
|
||||
fixed-center = true
|
||||
width = 100%
|
||||
height = 35
|
||||
|
||||
#padding-left = 0.5
|
||||
padding-right = 1
|
||||
|
||||
foreground = ${colors.background}
|
||||
background = ${colors.background}
|
||||
|
||||
module-margin = 1
|
||||
|
||||
modules-left = i3tabs title
|
||||
modules-center = date
|
||||
modules-right = network volume battery
|
||||
separator =
|
||||
|
||||
dim-value = 1.0
|
||||
|
||||
tray-position = right
|
||||
|
||||
wm-name = i3
|
||||
wm-restack = i3
|
||||
|
||||
dpi-x = 96
|
||||
dpi-y = 96
|
||||
|
||||
###############################################################################
|
||||
[bar/HDMI1]
|
||||
monitor = "HDMI-1"
|
||||
enable-ipc = false
|
||||
|
||||
font-0 = ${font.inconsolata}
|
||||
@@ -57,8 +93,9 @@ foreground = ${colors.accent}
|
||||
background = #383D41
|
||||
|
||||
label-unfocused = %index%
|
||||
label-unfocused-padding = 2
|
||||
label-unfocused-foreground = #ffffff
|
||||
label-unfocused-background = ${self.background}
|
||||
label-unfocused-padding = 2
|
||||
|
||||
label-focused = %index%
|
||||
label-focused-foreground = ${self.foreground}
|
||||
|
||||
Reference in New Issue
Block a user