diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-21 14:12:23 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-21 14:16:47 -0400 |
commit | 2ff110c097169d3e858829bf5fa05cc289a8e019 (patch) | |
tree | 09ab43b392daa74a82f668d86f78b0a76b3a2179 | |
parent | b5711afc9b9f509d668994511b81cc24f4d352ef (diff) |
wmii: add prompts to wimenu
-rw-r--r-- | .config/wmii-hg/config.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/wmii-hg/config.sh b/.config/wmii-hg/config.sh index ca32e1a..02ec65b 100644 --- a/.config/wmii-hg/config.sh +++ b/.config/wmii-hg/config.sh @@ -235,11 +235,11 @@ Key() { ## Running programs $MODKEY-a) ## Open wmii actions menu local action - action="$(path_ls "$WMII_CONFPATH" | wimenu -h "${HIST}.actions" -n 5000)" || return + action="$(path_ls "$WMII_CONFPATH" | wimenu -p 'S-a' -h "${HIST}.actions" -n 5000)" || return Action "$action" & ;; $MODKEY-x) ## Open program menu local command - command="$(path_ls "$_PATH" | wimenu -h "${HIST}.progs" -n 5000)" || return + command="$(path_ls "$_PATH" | wimenu -p 'S-x' -h "${HIST}.progs" -n 5000)" || return runcmd "$command" & ;; $MODKEY-Return) ## Launch a terminal runcmd x-terminal-emulator & ;; @@ -247,12 +247,12 @@ Key() { ## Tag actions $MODKEY-t) ## Change to another tag local tag - tag=$(lstags | wimenu -h "${HIST}.tags" -n 50) || return + tag=$(lstags | wimenu -p 'S-t' -h "${HIST}.tags" -n 50) || return echo view "$tag" >> $WMII_DIR/ctl;; $MODKEY-Shift-t) ## Retag the selected client local sel tag sel=$(sed 1q $WMII_DIR/client/sel/ctl) - tag=$(lstags | wimenu -h "${HIST}.tags" -n 50) || return + tag=$(lstags | wimenu -p 'S-T' -h "${HIST}.tags" -n 50) || return echo "$tag" >> $WMII_DIR/client/$sel/tags;; ## Hardware keys |