diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-04-12 13:04:12 +0200 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-04-12 13:04:12 +0200 |
commit | 269e617fea39658233db38ad503030c4fe040e80 (patch) | |
tree | 6a0287e6e892d5a673b6a60d1da9b013b2257a75 /ratpoison/workspace_menu | |
parent | c955393cbd6e135fe351876f28993290df61fdfa (diff) | |
download | dotfiles-269e617fea39658233db38ad503030c4fe040e80.tar.gz dotfiles-269e617fea39658233db38ad503030c4fe040e80.tar.bz2 dotfiles-269e617fea39658233db38ad503030c4fe040e80.zip |
Spring cleanup!
Diffstat (limited to 'ratpoison/workspace_menu')
-rwxr-xr-x | ratpoison/workspace_menu | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/ratpoison/workspace_menu b/ratpoison/workspace_menu deleted file mode 100755 index dc3b723..0000000 --- a/ratpoison/workspace_menu +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash - -# Lets you switch between all workspaces in a way that minimizes keystrokes. -# The current workspace is selected. - -# Yes, bash is really necessary, because it's version of printf makes this -# script possible. Regular bourne shell printf does NOT. - -workspace_command="/usr/bin/rpws" -ratmenu="~/.ratpoison/ratmenu" - -( printf "$ratmenu -style dreary -fg \"$COLOR11\" -bg \"$COLOR0\" -io $[ $($workspace_command current) + 1 ]"; - ratpoison -c "groups" | while read s; do - n=$(echo $s | sed 's/\([0-9]\+\).*/\1/'); -# w=$(echo $s | sed 's/[0-9]\+.\(.*\)/\1/'); - w=$(ratpoison -c "gselect $(($n-1))" -c "windows %t" -c "gprev") - a=$(printf "%3q %q" $n $w); b="$workspace_command $n"; - if [ $n -ne 0 ];then - printf " %q %q" "$a" "$b"; - else - printf " %q %q" "Go to workspace:" "/bin/true"; - fi - done; echo \;) | sh - |