Modify UI scaling for 1080p 16x9

This commit is contained in:
mitchell 2021-12-28 14:45:10 -08:00
parent f8abb7c81e
commit c1f0fd1d66
4 changed files with 24 additions and 25 deletions

View File

@ -26,8 +26,8 @@ keepassxc &
bspc monitor -d I II III IV V VI VII
bspc config border_width 2
bspc config window_gap 18
bspc config top_padding -18
bspc config window_gap 10
bspc config top_padding -10
bspc config split_ratio 0.52
bspc config borderless_monocle false

View File

@ -28,7 +28,7 @@ conky.config ={
border_inner_margin = 6,
border_width = 5,
minimum_height = 1000,
minimum_height = 997,
minimum_width = 280,
maximum_width = 280,
@ -73,42 +73,42 @@ ${color1}${hr 2}${color}
${voffset -5}
${font IBM Plex Sans Light:size=8}${color1}HOSTNAME:${color}${font} ${alignr}$nodename
${font IBM Plex Sans Light:size=8}${color1}UPTIME:${color}${font} ${alignr}$uptime_short
${font IBM Plex Sans Light:size=8}${color1}KERNEL:${color}${font} ${alignr}$kernel ${voffset 10}
${font IBM Plex Sans Light:size=8}${color1}KERNEL:${color}${font} ${alignr}$kernel ${voffset 5}
${font :size=11}${color}Network ${hr 2}
${voffset -15}
${font IBM Plex Sans Light:size=10}${color1}IP ADDRESS:${color}${font} ${alignr}${addr br0}${color}
${if_match "${addr br0}"!="No Address"}${voffset 5}${font IBM Plex Sans Light:size=10}${font}Download ${alignr}${downspeedf br0}k/s (${totaldown br0})
${color1}${downspeedgraph br0 50,280 98971a 79740e -t}${color}
${font IBM Plex Sans Light:size=10}${font}Upload ${alignr}${upspeedf br0}k/s (${totalup br0})
${color1}${upspeedgraph br0 50,280 9d0006 cc241d -t}${color}
${voffset -20}
${font IBM Plex Sans Light:size=10}${color1}IP ADDRESS:${color}${font} ${alignr}${addr wlan0}${color}
${if_match "${addr wlan0}"!="No Address"}${voffset 5}${font IBM Plex Sans Light:size=10}${font}Download ${alignr}${downspeedf wlan0}k/s (${totaldown wlan0})
${color1}${downspeedgraph wlan0 50,280 98971a 79740e -t}${color}
${font IBM Plex Sans Light:size=10}${font}Upload ${alignr}${upspeedf wlan0}k/s (${totalup wlan0})
${color1}${upspeedgraph wlan0 50,280 9d0006 cc241d -t}${color}
${endif}${voffset 5}${font :size=11}${color}HDD ${hr 2}
${voffset 5}${color1}Used: ${fs_used /}${goto 175}Free:${goto 225}${fs_free /}${color}
${color2}${fs_bar /}${color}
${font IBM Plex Sans Light:size=8}${color1}DISK I/O:${color}${font} ${alignr}$diskio
${voffset 2}${font IBM Plex Sans Light:size=8}${color1}READ: ${font} ${goto 80}${diskiograph_read 15,210 98971a 79740e 750}${color}
${voffset 2}${font IBM Plex Sans Light:size=8}${color1}WRITE:${font} ${goto 80}${diskiograph_write 15,210 9d0006 cc241d 750}${color}
${voffset 10}${font :size=11}Memory ${hr 2}${voffset 2}${font}
${voffset 5}${font :size=11}Memory ${hr 2}${voffset 2}${font}
${font IBM Plex Sans Light:size=10}RAM $alignc ${font}${color1}$mem / $memmax $alignr ${color4}$memperc%${color}
${color2}$membar${voffset 10}${color}
${color2}$membar${voffset 5}${color}
${font :size=11}GPU ${hr 2}${voffset 2}
${font IBM Plex Sans Light:size=9}${color1}GPU Freq.: $alignr ${color}${font}${nvidia gpufreq} Mhz${voffset 2}
${font IBM Plex Sans Light:size=9}${color1}Memory Freq.: $alignr ${color}${font}${nvidia memfreq} Mhz${voffset 2}
${font IBM Plex Sans Light:size=9}${color1}Temperature: $alignr ${color4}${font}${nvidia temp}°C ${voffset 10}${color}
${font IBM Plex Sans Light:size=9}${color1}Temperature: $alignr ${color4}${font}${nvidia temp}°C ${voffset 5}${color}
${font :size=11}CPUs ${hr 2}
${voffset -15}
${voffset -20}
${font IBM Plex Sans Light:size=10}${color1}CPU:${color}${font} ${alignr}AMD Ryzen 7 3800X
${voffset -15}
${voffset -20}
${font IBM Plex Sans Light:size=9}${color1}01 - 04:${color}${font} ${goto 100}${cpu cpu1}% ${goto 150}${cpu cpu2 }% ${goto 200}${cpu cpu3 }% ${goto 250}${cpu cpu4 }%
${font IBM Plex Sans Light:size=9}${color1}05 - 08:${color}${font} ${goto 100}${cpu cpu5}% ${goto 150}${cpu cpu6 }% ${goto 200}${cpu cpu7 }% ${goto 250}${cpu cpu8 }%
${font IBM Plex Sans Light:size=9}${color1}09 - 12:${color}${font} ${goto 100}${cpu cpu9}% ${goto 150}${cpu cpu10}% ${goto 200}${cpu cpu11}% ${goto 250}${cpu cpu12}%
${voffset -10}
${font IBM Plex Sans Light:size=9}${color1}CPU TEMP:${color4}${font}${alignr}${hwmon 1 temp 1}°C${color}
${voffset 10}${font :size=11}Processes ${hr 2}${font}
${voffset -15}
${voffset 5}${font :size=11}Processes ${hr 2}${font}
${voffset -20}
${font :size=10}${font IBM Plex Sans Light:size=8}${color1}TOTAL:${color}${font} ${alignr}${processes}
${voffset -12}
${font IBM Plex Sans Light:size=9}${color1}APP NAME: ${goto 160}MEMORY: ${goto 245}CPU: ${color}${font}
${voffset -15}
${voffset -20}
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 1} ${color}${font} ${goto 160}${top mem 1} % ${goto 235}${top cpu 1} %
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 2} ${color}${font} ${goto 160}${top mem 2} % ${goto 235}${top cpu 2} %
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 3} ${color}${font} ${goto 160}${top mem 3} % ${goto 235}${top cpu 3} %
@ -118,5 +118,4 @@ ${font IBM Plex Sans Light:size=9}${color1}${top_mem name 6} ${color}${font} ${g
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 7} ${color}${font} ${goto 160}${top mem 7} % ${goto 235}${top cpu 7} %
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 8} ${color}${font} ${goto 160}${top mem 8} % ${goto 235}${top cpu 8} %
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 9} ${color}${font} ${goto 160}${top mem 9} % ${goto 235}${top cpu 9} %
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 10} ${color}${font} ${goto 160}${top mem 10} % ${goto 235}${top cpu 10} %
]];

View File

@ -30,7 +30,7 @@ alert = #cc241d
[bar/m-bar]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 38
height = 26
;offset-x = 1%
;offset-y = 1%
radius = 0.0
@ -42,7 +42,7 @@ foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 18
border-size = 10
border-color = #00000000
padding-left = 0
@ -51,8 +51,8 @@ padding-right = 0
module-margin-left = 0
module-margin-right = 2
font-0 = IBM Plex Sans:size=14;3
font-1 = JetBrains Mono:size=15;3
font-0 = IBM Plex Sans:size=10;3
font-1 = JetBrains Mono:size=11;3
#font-2 = JetBrains Mono:pixelsize=10;1
#font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
#font-2 = siji:pixelsize=10;1
@ -186,7 +186,7 @@ label = %percentage_used%%
[module/wlan]
type = internal/network
interface = net1
interface = wlan0
interval = 3.0
format-connected = <ramp-signal> <label-connected>

View File

@ -14,7 +14,7 @@ super + shift + Return
super + @space
rofi -width 30 \
-lines 10 \
-font 'JetBrains Mono 15' \
-font 'JetBrains Mono 10' \
-location 2 \
-yoffset 100 \
-terminal kitty \