From 1a0e71c0526032f4375ff312bee666561430ae31 Mon Sep 17 00:00:00 2001 From: hornet Date: Fri, 24 Dec 2021 10:31:03 -0500 Subject: [PATCH] Added config files --- .config/polybar/config | 30 +++++++++++++++--------------- .config/polybar/launch.sh | 18 +++++++++--------- .screenlayout/seven.sh | 2 +- .screenlayout/seven.sh.bak | 3 +++ .screenlayout/seven.sh.bak.bak | 3 +++ 5 files changed, 31 insertions(+), 25 deletions(-) create mode 100755 .screenlayout/seven.sh.bak create mode 100755 .screenlayout/seven.sh.bak.bak diff --git a/.config/polybar/config b/.config/polybar/config index 8ecfd59..5fee249 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -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 diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index 7339334..0daedd6 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh @@ -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 & diff --git a/.screenlayout/seven.sh b/.screenlayout/seven.sh index 853b28b..b5fbe7f 100755 --- a/.screenlayout/seven.sh +++ b/.screenlayout/seven.sh @@ -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 diff --git a/.screenlayout/seven.sh.bak b/.screenlayout/seven.sh.bak new file mode 100755 index 0000000..853b28b --- /dev/null +++ b/.screenlayout/seven.sh.bak @@ -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 diff --git a/.screenlayout/seven.sh.bak.bak b/.screenlayout/seven.sh.bak.bak new file mode 100755 index 0000000..5fd60c4 --- /dev/null +++ b/.screenlayout/seven.sh.bak.bak @@ -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