Update polybar, xrandr for new monitor setup

This commit is contained in:
kageru 2020-06-02 11:11:13 +02:00
parent 5895f0d070
commit 96199369f6
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2
3 changed files with 25 additions and 24 deletions

View File

@ -8,10 +8,10 @@
;===================================================== ;=====================================================
[colors] [colors]
background = #002d2a2e background = #442d2a2e
background-alt = #002d2a2e background-alt = #442d2a2e
foreground = #555555 foreground = #ffffff
foreground-alt = #555555 foreground-alt = #ffffff
primary = #fcfcfa primary = #fcfcfa
secondary = #dcdcda secondary = #dcdcda
green = #a9dc76 green = #a9dc76
@ -25,9 +25,9 @@ override-redirect = true
monitor = ${env:MONITOR:HDMI-0} monitor = ${env:MONITOR:HDMI-0}
width = 100% width = 100%
height = 32 height = 32
;offset-x = 1% #offset-x = 1%
;offset-y = 1% #offset-y = 1%
radius = 4.0 radius = 0.0
fixed-center = true fixed-center = true
bottom = true bottom = true
@ -47,9 +47,9 @@ module-margin-left = 2
module-margin-right = 2 module-margin-right = 2
; I’m a weeb who also listens to weeb music, so I needed a font with Kanji ; I’m a weeb who also listens to weeb music, so I needed a font with Kanji
font-0 = "Noto Sans CJK JP:bold:size=11" font-0 = "Noto Sans CJK JP:size=11"
font-1 = "Wuncon Siji:size=11" font-1 = "Wuncon Siji:size=11"
font-2 = "Noto Sans CJK JP:bold:size=11" font-2 = "Noto Sans CJK JP:size=11"
modules-left = i3 mpd modules-left = i3 mpd
modules-center = modules-center =
@ -71,9 +71,7 @@ cursor-click = pointer
monitor = ${env:MONITOR:DVI-D-0} monitor = ${env:MONITOR:DVI-D-0}
width = 100% width = 100%
height = 22 height = 22
;offset-x = 1% radius = 0.0
;offset-y = 1%
radius = 6.0
fixed-center = true fixed-center = true
bottom = true bottom = true
@ -83,7 +81,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 = 0 padding-left = 0
@ -114,9 +112,9 @@ cursor-click = pointer
monitor = ${env:MONITOR:DP-0} monitor = ${env:MONITOR:DP-0}
width = 100% width = 100%
height = 28 height = 28
;offset-x = 1% offset-x = 0%
;offset-y = 1% offset-y = 0%
radius = 2.0 radius = 0.0
fixed-center = true fixed-center = true
bottom = false bottom = false
@ -126,7 +124,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 = 0 padding-left = 0
@ -135,9 +133,9 @@ padding-right = 2
module-margin-left = 1 module-margin-left = 1
module-margin-right = 2 module-margin-right = 2
font-0 = "Noto Sans CJK JP:size=11;1" font-0 = "Noto Sans CJK JP:size=13;1"
font-1 = "Wuncon Siji:size=11;1" font-1 = "Wuncon Siji:size=13;1"
font-2 = "Noto Sans CJK JP:size=11;1" font-2 = "Noto Sans CJK JP:size=13;1"
modules-left = i3 mpd modules-left = i3 mpd
modules-center = modules-center =
@ -263,7 +261,7 @@ icon-next = »
label-offline = mpd is offline label-offline = mpd is offline
; Only applies if <bar-progress> is used ; Only applies if <bar-progress> is used
bar-progress-width = 10 bar-progress-width = 15
bar-progress-indicator = | bar-progress-indicator = |
bar-progress-fill = ─ bar-progress-fill = ─
bar-progress-empty = ─ bar-progress-empty = ─

View File

@ -7,12 +7,15 @@ fcitx
sshfs -i ~/.ssh/lain lain:/home/kgt/download /mnt/lain -C & sshfs -i ~/.ssh/lain lain:/home/kgt/download /mnt/lain -C &
syncthing & syncthing &
# xsetwacom --set 12 Area -14900 0 44400 16000 # xsetwacom --set 12 Area -14900 0 44400 16000
xrandr --fb 8320x2160 --output DVI-D-0 --pos 0x0 --mode 1920x1080 --rate 144 --output DP-0 --mode 2560x1440 --rate 144 --right-of DVI-D-0 --output HDMI-0 --right-of DP-0 --dpi 109x109 xrandr --fb 6400x2520 --dpi 109x109 \
--output DP-0 --mode 2560x1440 --rate 144 --pos 0x0 \
--output HDMI-1 --mode 3840x2160 --pos 2560x0 \
--output DVI-D-0 --mode 1920x1080 --rate 144 --pos 640x1440
#xrandr --fb 6400x2520 --output DP-0 --mode 2560x1440 --rate 144 --pos 0x0 --output DVI-D-0 --mode 1920x1080 --rate 144 --below DP-0 --output HDMI-0 --right-of DP-0 --dpi 109x109 #xrandr --fb 6400x2520 --output DP-0 --mode 2560x1440 --rate 144 --pos 0x0 --output DVI-D-0 --mode 1920x1080 --rate 144 --below DP-0 --output HDMI-0 --right-of DP-0 --dpi 109x109
~/bin/fixkeyboard ~/bin/fixkeyboard
~/.fehbg ~/.fehbg
xrdb ~/.Xresources xrdb ~/.Xresources
mpd dunst &
redshift -t 6500:3200 -l 53.55:9.64 & redshift -t 6500:3200 -l 53.55:9.64 &
pactl unload-module module-role-cork pactl unload-module module-role-cork

View File

@ -4,5 +4,5 @@ killall polybar
sleep 1 sleep 1
polybar -c ~/.config/polybar/config left & polybar -c ~/.config/polybar/config left &
polybar -c ~/.config/polybar/config main & polybar -c ~/.config/polybar/config main &
polybar -c ~/.config/polybar/config right & #polybar -c ~/.config/polybar/config right &