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)
|
DISPLAYS=$(xrandr -q | grep -w 'connected' | cut -d ' ' -f 1)
|
||||||
EXT_PRIMARY=""
|
EXT_PRIMARY=""
|
||||||
INTEGRATED_DISPLAY="eDP"
|
INTEGRATED_DISPLAY=$(xrandr -q | grep -w 'connected primary' | cut -d ' ' -f 1)
|
||||||
|
|
||||||
for DISP in ${DISPLAYS}; do
|
for DISP in ${DISPLAYS}; do
|
||||||
if [ ${DISP} != ${INTEGRATED_DISPLAY} ]; then
|
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 border_width 0
|
||||||
bspc config window_gap 8
|
bspc config window_gap 8
|
||||||
bspc config top_padding 25
|
bspc config top_padding 20
|
||||||
bspc config split_ratio 0.6
|
bspc config split_ratio 0.6
|
||||||
|
|
||||||
# Fix for Java applications
|
# Fix for Java applications
|
||||||
|
@ -20,6 +20,7 @@ corner-radius = 8;
|
|||||||
rounded-corners-exclude = [
|
rounded-corners-exclude = [
|
||||||
"class_g = 'dmenu'",
|
"class_g = 'dmenu'",
|
||||||
"class_g = 'kitty'",
|
"class_g = 'kitty'",
|
||||||
|
"class_g = 'Polybar'",
|
||||||
];
|
];
|
||||||
|
|
||||||
# Fading
|
# Fading
|
||||||
|
@ -29,7 +29,7 @@ alert = #bd2c40
|
|||||||
monitor = ${env:MONITOR:eDP}
|
monitor = ${env:MONITOR:eDP}
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 27
|
height = 27
|
||||||
radius = 3.0
|
radius = 0
|
||||||
|
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
@ -37,7 +37,7 @@ foreground = ${colors.foreground}
|
|||||||
line-size = 3
|
line-size = 3
|
||||||
line-color = #f00
|
line-color = #f00
|
||||||
|
|
||||||
border-size = 4
|
border-size = 0
|
||||||
border-color = #00000000
|
border-color = #00000000
|
||||||
|
|
||||||
padding-left = 2
|
padding-left = 2
|
||||||
@ -50,7 +50,7 @@ font-1 = IPAゴシック:style=Regular
|
|||||||
|
|
||||||
modules-left = date bspwm
|
modules-left = date bspwm
|
||||||
modules-center = xwindow
|
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
|
wm-restack = bspwm
|
||||||
|
|
||||||
@ -129,7 +129,7 @@ format-disconnected =
|
|||||||
ramp-signal-0 =
|
ramp-signal-0 =
|
||||||
ramp-signal-foreground = ${colors.foreground-alt}
|
ramp-signal-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[module/eth]
|
[module/eth_dock]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = enp6s0f3u1u1
|
interface = enp6s0f3u1u1
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
@ -145,6 +145,22 @@ format-disconnected =
|
|||||||
;label-disconnected = %ifname% disconnected
|
;label-disconnected = %ifname% disconnected
|
||||||
;label-disconnected-foreground = ${colors.foreground-alt}
|
;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]
|
[module/date]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
interval = 1
|
interval = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user