|
|
@ -289,6 +289,15 @@ programchoicesinit() { |
|
|
|
$icon_mnu St menu ^ 0 ^ sxmo_appmenu.sh st-256color |
|
|
|
$icon_mnu St menu ^ 0 ^ sxmo_appmenu.sh st-256color |
|
|
|
" |
|
|
|
" |
|
|
|
WINNAME=ncmpcpp |
|
|
|
WINNAME=ncmpcpp |
|
|
|
|
|
|
|
elif echo "$WMNAME" | grep -i -w "weechat"; then |
|
|
|
|
|
|
|
#weechat |
|
|
|
|
|
|
|
CHOICES=" |
|
|
|
|
|
|
|
$icon_msg Hotlist Next ^ 1 ^ key Alt+a |
|
|
|
|
|
|
|
$icon_arl History Previous ^ 1 ^ key Alt+Shift+comma |
|
|
|
|
|
|
|
$icon_arr History Next ^ 1 ^ key Alt+Shift+period |
|
|
|
|
|
|
|
$icon_trm Buffer ^ 0 ^ type '/buffer ' |
|
|
|
|
|
|
|
" |
|
|
|
|
|
|
|
WINNAME=weechat |
|
|
|
else |
|
|
|
else |
|
|
|
STSELMODEON="$( |
|
|
|
STSELMODEON="$( |
|
|
|
echo "$XPROPOUT" | grep -E '^_ST_SELMODE.+=' | cut -d= -f2 | tr -d ' ' |
|
|
|
echo "$XPROPOUT" | grep -E '^_ST_SELMODE.+=' | cut -d= -f2 | tr -d ' ' |
|
|
@ -450,6 +459,16 @@ key() { |
|
|
|
#--window $WIN |
|
|
|
#--window $WIN |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type() { |
|
|
|
|
|
|
|
xdotool windowactivate "$WIN" |
|
|
|
|
|
|
|
xdotool type --delay 50 --clearmodifiers "$@" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typeenter() { |
|
|
|
|
|
|
|
type "$@" |
|
|
|
|
|
|
|
xdotool key Return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
quit() { |
|
|
|
quit() { |
|
|
|
exit 0 |
|
|
|
exit 0 |
|
|
|
} |
|
|
|
} |
|
|
|