diff --git a/skel/disp b/skel/disp index 270a123..6403884 100644 --- a/skel/disp +++ b/skel/disp @@ -22,7 +22,7 @@ function side_lxpanel() { if lxpanel_running; then PROFILE=$( lxpanel_profile ) sleep 1 - LAPTOPWIDTH=$( xrandr -q | grep $LAPTOP | cut -d" " -f3 | cut -dx -f1 ) + LAPTOPWIDTH=$( xrandr -q | grep $WORKSTATION | cut -d" " -f3 | cut -dx -f1 ) sed -i -e 's,edge=.*,edge=bottom,' -e "s,allign=.*,allign=$1," -e "s,widthtype=.*,widthtype=pixel," -e "s,width=.*,width=$LAPTOPWIDTH," $HOME/.config/lxpanel/${PROFILE}/panels/panel echo "Warning: if LAPTOP has more pixels in the vertical direction, panel is invisible! change configuration of this script, and/or current setup ( lxpanelctl config )" fi