From cd56c0663be20813f8458331f7e29b759fd0f789 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Thu, 8 Oct 2015 08:07:18 +0300 Subject: [PATCH] change side of panel --- skel/disp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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