Browse Source

X, bspwm, polybar: adjust monitor name

master
Maxim Likhachev 3 years ago
parent
commit
bb102c0d98
  1. 5
      etc/X/xrandr.linux.carbon
  2. 6
      etc/soft/polybar/config.linux.carbon
  3. 6
      etc/wm/bspwm/bspwmrc.linux.carbon

5
etc/X/xrandr.linux.carbon

@ -6,5 +6,8 @@ xbacklight -set 30 @@ -6,5 +6,8 @@ xbacklight -set 30
xsmartlight -set 70
# Границы SmartScreen
xinput --map-to-output "$(xinput list --id-only "pointer:ELAN9009:00 04F3:29DE")" DP1
xinput --map-to-output "$(xinput list --id-only "pointer:ELAN9009:00 04F3:29DE")" DP-1
# SmartScreen снизу основного экрана
xrandr --output DP-1 --below eDP-1

6
etc/soft/polybar/config.linux.carbon

@ -47,7 +47,7 @@ wm-name = Bar @@ -47,7 +47,7 @@ wm-name = Bar
wm-restack = bspwm
monitor = ${env:MONITOR:eDP1}
monitor = ${env:MONITOR:eDP-1}
width = 100%
height = 21
fixed-center = false
@ -238,8 +238,8 @@ animation-charging-foreground = ${colors.green} @@ -238,8 +238,8 @@ animation-charging-foreground = ${colors.green}
animation-charging-framerate = 750
[module/xbacklight]
type = internal/xbacklight
#card = intel_backlight
type = internal/backlight
card = intel_backlight
enable-scroll = true

6
etc/wm/bspwm/bspwmrc.linux.carbon

@ -4,10 +4,10 @@ sxhkd & @@ -4,10 +4,10 @@ sxhkd &
polybar main &
unclutter &
bspc monitor eDP1 -d Α Β Γ Δ
bspc monitor DP1 -d α β γ δ
bspc monitor eDP-1 -d Α Β Γ Δ
bspc monitor DP-1 -d α β γ δ
bspc config -m eDP1 top_padding 21
bspc config -m eDP-1 top_padding 21
bspc config border_width 1
bspc config window_gap 0

Loading…
Cancel
Save