Added config files

This commit is contained in:
hornet 2021-12-24 10:31:03 -05:00
parent 1310696e44
commit 1a0e71c052
5 changed files with 31 additions and 25 deletions

View File

@ -87,7 +87,7 @@ tray-padding = 4
cursor-click = pointer
cursor-scroll = ns-resize
[bar/primary]
[bar/center]
bottom = false
monitor = DP-2
@ -97,7 +97,7 @@ modules-right = pulseaudio xkeyboard memory cpu wlan eth date
;monitor = ${env:monitor:hdmi-1}
width = 100%
height = 27
height = 40
;offset-x = 1%
;offset-y = 1%
;radius = 6.0
@ -118,9 +118,9 @@ padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-0 = fixed:pixelsize=18;1
font-1 = unifont:fontformat=truetype:size=18:antialias=false;0
font-2 = siji:pixelsize=18;1
tray-position = center
tray-padding = 4
@ -140,7 +140,7 @@ tray-padding = 4
cursor-click = pointer
cursor-scroll = ns-resize
[bar/secondary]
[bar/left]
bottom = false
monitor = DP-4
@ -148,7 +148,7 @@ modules-left = bspwm
modules-right = pulseaudio date
width = 100%
height = 45
height = 40
;offset-x = 1%
;offset-y = 1%
;radius = 6.0
@ -169,9 +169,9 @@ padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = fixed:pixelsize=16;1
font-1 = unifont:fontformat=truetype:size=12:antialias=false;0
font-2 = siji:pixelsize=16;1
font-0 = fixed:pixelsize=18;1
font-1 = unifont:fontformat=truetype:size=18:antialias=false;0
font-2 = siji:pixelsize=18;1
tray-position = right
tray-padding = 2
@ -180,7 +180,7 @@ tray-padding = 2
cursor-click = pointer
cursor-scroll = ns-resize
[bar/tertiary]
[bar/top]
bottom = false
monitor = HDMI-0
@ -190,7 +190,7 @@ modules-right = pulseaudio date
;monitor = ${env:monitor:hdmi-1}
width = 100%
height = 27
height = 40
;offset-x = 1%
;offset-y = 1%
;radius = 6.0
@ -211,9 +211,9 @@ padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-0 = fixed:pixelsize=18;1
font-1 = unifont:fontformat=truetype:size=18:antialias=false;0
font-2 = siji:pixelsize=18;1
;tray-position = right
;tray-padding = 2

View File

@ -12,21 +12,21 @@ CURRENT_MONITOR_CONFIG=${1:-7}
# ~/.config/polybar/config
if [[ "${CURRENT_MONITOR_CONFIG}" -eq 4 ]];then
echo "Going with 4 for polybar"
polybar primary &
polybar secondary &
polybar center &
polybar left &
elif [[ "${CURRENT_MONITOR_CONFIG}" -eq 5 ]];then
echo "Going with 5 for polybar"
polybar primary &
polybar tertiary &
polybar center &
polybar top &
elif [[ "${CURRENT_MONITOR_CONFIG}" -eq 6 ]];then
echo "Going with 6 for polybar"
polybar secondary &
polybar tertiary &
polybar left &
polybar top &
elif [[ "${CURRENT_MONITOR_CONFIG}" -eq 7 ]];then
echo "Going with 7 for polybar"
polybar primary &
polybar secondary &
polybar tertiary &
polybar center &
polybar left &
polybar top &
else
echo "Going with default for polybar"
polybar example &

View File

@ -1,3 +1,3 @@
#!/bin/sh
xrandr --output DP-4 --primary --mode 3840x2160 --rate 60.00 --pos 0x0 --output DP-2 --mode 2560x1440 --rate 165.00 --pos 2160x1080 --rotate normal --output HDMI-0 --mode 1920x1080 --pos 2160x0 --rate 60.0 --rotate normal --output DP-1 --off --output DP-3 --off
xrandr --output DP-4 --primary --mode 3840x2160 --rate 60.00 --pos 0x648 --output DP-2 --mode 2560x1440 --rate 165.00 --pos 2160x1728 --rotate normal --scale 1.6x1.6 --output HDMI-0 --mode 1920x1080 --pos 2160x0 --rate 60.0 --rotate normal --scale 1.6x1.6 --output DP-1 --off --output DP-3 --off
xrandr --output DP-4 --rotate right

3
.screenlayout/seven.sh.bak Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
xrandr --output DP-4 --primary --mode 3840x2160 --rate 60.00 --pos 0x0 --output DP-2 --mode 2560x1440 --rate 165.00 --pos 2160x1080 --rotate normal --output HDMI-0 --mode 1920x1080 --pos 2160x0 --rate 60.0 --rotate normal --output DP-1 --off --output DP-3 --off
xrandr --output DP-4 --rotate right

3
.screenlayout/seven.sh.bak.bak Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
xrandr --output DP-4 --primary --mode 3840x2160 --rate 60.00 --pos 0x0 --scale 0.6x0.6 --output DP-2 --mode 2560x1440 --rate 165.00 --pos 1296x1080 --rotate normal --output HDMI-0 --mode 1920x1080 --pos 1296x0 --rate 60.0 --rotate normal --output DP-1 --off --output DP-3 --off
xrandr --output DP-4 --rotate right