Adding some stuff before migration
This commit is contained in:
parent
8538bbea9c
commit
ba52bb0f6a
10 changed files with 74 additions and 20 deletions
|
|
@ -14,7 +14,7 @@ GH=10 # height of the gauge
|
|||
GBG='#333' # color of gauge background
|
||||
#X=1807 # x position
|
||||
#X="$(expr "$(xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+)x[0-9]+.*$/\1/')" - $W - 2)" # x position
|
||||
PRIMARY="$(xrandr -q | grep primary)" # x position
|
||||
PRIMARY="$(xrandr -q | grep primary | grep -v disconnected)" # x position
|
||||
if [ -z "${PRIMARY}" ]; then
|
||||
X="$(expr "$(xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+)x[0-9]+.*$/\1/')" - $W - 2)" # x position
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue