mirror of
https://github.com/0intro/wmii
synced 2025-03-14 02:33:15 +03:00
small fix
This commit is contained in:
parent
7b5978c34b
commit
5ae71d5cbc
@ -11,7 +11,7 @@ xwrite() {
|
||||
# race condition alert
|
||||
test -f $pidfile && kill `cat $pidfile` 2>/dev/null
|
||||
echo $$ >$pidfile
|
||||
sleep 2
|
||||
sleep 1
|
||||
xwrite /bar/new/colors $WMII_NORMCOLORS
|
||||
n=`wmiir read /bar | awk '/[0-9]+$/ {if($NF>max) max=$NF} END {print max}'`
|
||||
trap "wmiir remove /bar/$n 2>/dev/null; exit" 15
|
||||
|
@ -35,7 +35,7 @@ xwrite /def/selcolors $WMII_SELCOLORS
|
||||
xwrite /def/normcolors $WMII_NORMCOLORS
|
||||
|
||||
# BAR CONFIGURATION
|
||||
while wmiir remove /bar/1 2>/dev/null
|
||||
while wmiir remove /bar/0 2>/dev/null
|
||||
do
|
||||
:
|
||||
done
|
||||
@ -57,7 +57,7 @@ done <<EOF
|
||||
$MODKEY-Control-c
|
||||
$MODKEY-Control-w,y
|
||||
$MODKEY-Control-q,y
|
||||
$MODKEY-Control-r,y
|
||||
$MODKEY-Control-r
|
||||
$MODKEY-Control-p
|
||||
$MODKEY-Control-a
|
||||
$MODKEY-Control-y
|
||||
@ -123,7 +123,7 @@ do
|
||||
wmiirc &;;
|
||||
$MODKEY-Control-q,y)
|
||||
xwrite /ctl quit;;
|
||||
$MODKEY-Control-r,y)
|
||||
$MODKEY-Control-r)
|
||||
wmiir remove /sel;;
|
||||
$MODKEY-Control-p)
|
||||
extern `wmiimenu </tmp/ns.$USER.$DISPLAY/progs` &;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user