I need some help with tweaking my Desktop! (2bwm) - Desktop Customization & Workflow

Users browsing this thread: 5 Guest(s)
pvtmert
Members
i was gonna open topic with similar title but saw this so continuing here...

in my bar setup, i have this layout: < prev | curr | next > for desktop number. i want to assign mouse clicks to bar (i have xclock on time/date area)

so if there is a way to switch to Xth desktop please tell me...
i will assign prev last next accordingly...

i thought last would be:
test -z "$LAST" && LAST=0
test -z "$CURR" && LAST=0
TMP=""
while loop:
CURR=`2bwm-get-desktop` #command in 2bwm's man page
if [ ${CURR} -ne ${TMP} ]; then
LAST=${CURR}
fi
TMP=${CURR}
#rest of the code...
that would do thing... //not tested...


Messages In This Thread
RE: I need some help with tweaking my Desktop! (2bwm) - by pvtmert - 15-07-2014, 06:09 PM