Changed the fact that the polybar main bar isn't offset from the screen
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
2d4b7e53e3
commit
0a8179a349
@ -13,7 +13,7 @@ xset -b
|
||||
|
||||
DISPLAYS=$(xrandr -q | grep -w 'connected' | cut -d ' ' -f 1)
|
||||
EXT_PRIMARY=""
|
||||
INTEGRATED_DISPLAY="eDP"
|
||||
INTEGRATED_DISPLAY=$(xrandr -q | grep -w 'connected primary' | cut -d ' ' -f 1)
|
||||
|
||||
for DISP in ${DISPLAYS}; do
|
||||
if [ ${DISP} != ${INTEGRATED_DISPLAY} ]; then
|
||||
@ -36,7 +36,7 @@ MONITOR=${INTEGRATED_DISPLAY} polybar main 2>&1 | tee -a /tmp/polybar.log & diso
|
||||
|
||||
bspc config border_width 0
|
||||
bspc config window_gap 8
|
||||
bspc config top_padding 25
|
||||
bspc config top_padding 20
|
||||
bspc config split_ratio 0.6
|
||||
|
||||
# Fix for Java applications
|
||||
|
@ -20,6 +20,7 @@ corner-radius = 8;
|
||||
rounded-corners-exclude = [
|
||||
"class_g = 'dmenu'",
|
||||
"class_g = 'kitty'",
|
||||
"class_g = 'Polybar'",
|
||||
];
|
||||
|
||||
# Fading
|
||||
|
@ -29,7 +29,7 @@ alert = #bd2c40
|
||||
monitor = ${env:MONITOR:eDP}
|
||||
width = 100%
|
||||
height = 27
|
||||
radius = 3.0
|
||||
radius = 0
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
@ -37,7 +37,7 @@ foreground = ${colors.foreground}
|
||||
line-size = 3
|
||||
line-color = #f00
|
||||
|
||||
border-size = 4
|
||||
border-size = 0
|
||||
border-color = #00000000
|
||||
|
||||
padding-left = 2
|
||||
@ -50,7 +50,7 @@ font-1 = IPAゴシック:style=Regular
|
||||
|
||||
modules-left = date bspwm
|
||||
modules-center = xwindow
|
||||
modules-right = pulseaudio memory cpu wlan eth battery
|
||||
modules-right = pulseaudio memory cpu wlan eth_dock eth_internal battery
|
||||
|
||||
wm-restack = bspwm
|
||||
|
||||
@ -129,7 +129,7 @@ format-disconnected =
|
||||
ramp-signal-0 =
|
||||
ramp-signal-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/eth]
|
||||
[module/eth_dock]
|
||||
type = internal/network
|
||||
interface = enp6s0f3u1u1
|
||||
interval = 3.0
|
||||
@ -145,6 +145,22 @@ format-disconnected =
|
||||
;label-disconnected = %ifname% disconnected
|
||||
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/eth_internal]
|
||||
type = internal/network
|
||||
interface = enp2s0f0
|
||||
interval = 3.0
|
||||
|
||||
format-connected-underline = #55aa55
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-foreground = ${colors.foreground-alt}
|
||||
label-connected = %local_ip%
|
||||
|
||||
format-disconnected =
|
||||
;format-disconnected = <label-disconnected>
|
||||
;format-disconnected-underline = ${self.format-connected-underline}
|
||||
;label-disconnected = %ifname% disconnected
|
||||
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
Loading…
Reference in New Issue
Block a user