mirror of
https://github.com/0intro/wmii
synced 2025-01-08 03:22:02 +03:00
Fix some rc bugs, update wmiirc.
This commit is contained in:
parent
8a01b0b63e
commit
d82f5b113a
@ -71,7 +71,7 @@ fn wi_fn-p {
|
||||
|
||||
fn wi_proglist {
|
||||
# XXX: maxdepth is not POSIX compliant.
|
||||
ifs=: { find -L `{echo $*} -type f -a -maxdepth 1 \
|
||||
ifs=: { find -L `{echo -n $*} -type f -a -maxdepth 1 \
|
||||
'(' -perm -0100 -o -perm -0010 -o -perm -0001 ')' >[2]/dev/null \
|
||||
| sed 's,.*/,,' | sort | uniq}
|
||||
}
|
||||
|
@ -42,6 +42,7 @@ status() {
|
||||
echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date)
|
||||
}
|
||||
|
||||
local_events() { true;}
|
||||
wi_runconf -s wmiirc_local
|
||||
|
||||
echo $WMII_NORMCOLORS | wmiir create $noticebar
|
||||
@ -180,6 +181,10 @@ events() {
|
||||
wmiir xwrite /tag/sel/ctl select down
|
||||
Key $MODKEY-$UP
|
||||
wmiir xwrite /tag/sel/ctl select up
|
||||
Key $MODKEY-Control-$DOWN
|
||||
wmiir xwrite /tag/sel/ctl select down stack
|
||||
Key $MODKEY-Control-$UP
|
||||
wmiir xwrite /tag/sel/ctl select up stack
|
||||
Key $MODKEY-Shift-$LEFT
|
||||
wmiir xwrite /tag/sel/ctl send sel left
|
||||
Key $MODKEY-Shift-$RIGHT
|
||||
@ -200,7 +205,7 @@ events() {
|
||||
}
|
||||
wi_events <<!
|
||||
$(events)
|
||||
$local_events
|
||||
$(local_events)
|
||||
!
|
||||
unset events local_events
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user