Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unused scripts

  • Loading branch information...
commit 7f1f185ac2922cfb22bcab8615c95d237c5573c5 1 parent a74ffd9
@graudeejs authored
View
176 config/wmscripts/docMenu.sh
@@ -1,176 +0,0 @@
-#!/bin/sh
-
-# "THE BEER-WARE LICENSE":
-# Aldis Berjoza wrote this file. As long as you retain this notice you
-# can do whatever you want with this stuff. If we meet some day, and you think
-# this stuff is worth it, you can buy me a beer in return. <graudeejs@gmail.com>
-
-
-# This script contains various documentation links
-# no args
-
-[ -f "$XDG_CONFIG_HOME/wmscripts/config" ] && . "$XDG_CONFIG_HOME/wmscripts/config"
-
-SELECTION=`{
- # short names
- echo 'rails'
- echo 'ruby'
- echo 'haskell'
- echo 'hg'
- echo 'mercurial'
- echo 'git'
- echo 'svg'
- echo 'subversion'
- echo 'handbook'
- echo 'phandbook'
- echo 'dhandbook'
- echo 'gems'
-
- echo 'man'
- echo 'pman'
- echo 'lman'
- echo 'oman'
- echo 'rfc'
- echo 'ien'
-
- echo 'pgsql'
- echo 'pgsql 9.0'
- echo 'pgsql 9.1'
- echo 'pgsql 8.4'
- echo 'pgsql 8.3'
- echo 'pgsql 8.2'
-
- echo 'sqlite'
-
- echo 'mysql'
- echo 'mysql 5.5'
- echo 'mysql 5.6'
- echo 'mysql 5.1'
- echo 'mysql 4.1'
-
- echo 'vim'
- echo 'fvwm'
- echo 'qt'
- echo 'python'
- echo 'dojo'
-
- echo 'scilab'
- echo 'scilab 5.3.2'
-
- echo 'java 7'
- echo 'java 6'
-
- echo 'fasm'
- echo 'glut'
- echo 'gtk'
-
- echo 'php'
-
- echo 'lua 5.1'
-
- echo 'scilab 5.3.2'
-
- echo 'cscout'
-
- echo 'rails api'
- echo 'ruby doc'
- echo 'ruby gems'
-
- echo 'perl'
- echo 'perl cpan'
- echo 'cpan'
-
- echo 'sh'
- echo 'bash'
-
- echo 'atom'
-
- echo 'ruby regexp'
- echo 'Real World Haskell'
- echo 'LaTeX wikibook'
- echo 'The Git Community Book'
- echo 'Mercurial: The Definitive Guide'
- echo 'Version Control with Subversion'
- echo 'FreeBSD Handbook'
- echo 'FreeBSD Porters Handbook'
- echo 'FreeBSD Developers Handbook'
- echo 'FreeBSD man'
- echo 'SQLite doc'
- echo 'All About Circuits'
- echo 'Python Standard Library'
- echo 'Git Users Manual'
-
- echo 'xmonad api'
- echo 'xmonad contrib api'
-} | sort -f | $DMENU`
-
-
-SELECTION2="`echo "$SELECTION" | sed -E -e 's/^[a-zA-Z0-9_]+ //; s/ /\+/g'`"
-case $SELECTION in
-'rails' | 'rails api' ) open 'http://api.rubyonrails.org/' ;;
-'ruby' | 'ruby doc' ) open 'http://www.ruby-doc.org/' ;;
-'latex' | 'LaTeX wikibook' ) open 'http://en.wikibooks.org/wiki/LaTeX/' ;;
-'haskell' | 'Real World Haskell' ) open 'http://book.realworldhaskell.org/read/' ;;
-'hg' | 'mercurial' | 'Mercurial: The Definitive Guide') open 'http://hgbook.red-bean.com/read/' ;;
-'svn' | 'subversion' | 'Version Control with Subversion' ) open 'http://svnbook.red-bean.com/nightly/en/' ;;
-'handbook' | 'FreeBSD Handbook' ) open 'http://www.lv.freebsd.org/doc/en_US.ISO8859-1/books/handbook/' ;;
-'phandbook' | 'FreeBSD Porters Handbook' ) open 'http://www.lv.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/' ;;
-'dhandbook' | 'FreeBSD Developers Handbook' ) open 'http://www.lv.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/' ;;
-'FreeBSD Architecture Handbook' ) open 'http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/' ;;
-'Design elements of the FreeBSD VM system' ) open 'http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/' ;;
-'man' | 'FreeBSD man' ) open 'http://www.freebsd.org/cgi/man.cgi' ;;
-'xmonad api' ) open 'http://xmonad.org/xmonad-docs/xmonad/' ;;
-'xmonad contrib api' ) open 'http://xmonad.org/xmonad-docs/xmonad-contrib/' ;;
-
-'pgsql' ) open 'http://www.postgresql.org/docs/current/static/' ;;
-'pgsql '* ) open "http://www.postgresql.org/docs/${SELECTION2}/static/" ;;
-'mysql' ) open "http://dev.mysql.com/doc/refman/5.5/en/" ;;
-'mysql '* ) open "http://dev.mysql.com/doc/refman/${SELECTION2}/en/" ;;
-'sqlite' ) open 'http://www.sqlite.org/doclist.html' ;;
-'SQLite doc' ) open 'http://www.sqlite.org/docs.html' ;;
-
-'vim' ) open 'http://vimdoc.sourceforge.net/htmldoc/usr_toc.html' ;;
-'ruby regexp' ) open 'http://oniguruma.rubyforge.org/oniguruma/files/Syntax_txt.html' ;;
-'qt' ) open 'http://doc.qt.nokia.com/' ;;
-'puthon' | 'Python Standard Library' ) open 'http://docs.python.org/library/' ;;
-'dojo' ) open 'http://dojotoolkit.org/api/' ;;
-'java '* ) open "http://download.oracle.com/javase/${SELECTION2}/docs/api/allclasses-noframe.html" ;;
-'fasm' ) open 'http://flatassembler.net/docs.php?article=manual' ;;
-'glut' ) open 'http://freeglut.sourceforge.net/docs/api.php' ;;
-'gtk' ) open 'http://developer.gnome.org/gtk/stable/' ;;
-'git' | 'Git Users Manual' ) open 'http://www.kernel.org/pub/software/scm/git/docs/user-manual.html' ;;
-'The Git Community Book' ) open 'http://book.git-scm.com/' ;;
-
-'lua '* ) open "http://www.lua.org/manual/${SELECTION2}/" ;;
-
-'scilab' ) open 'http://help.scilab.org/docs/current/en_US/' ;;
-'scilab '* ) open "http://help.scilab.org/docs/${SELECTION2}/en_US/" ;;
-
-'sh' ) open 'http://www.grymoire.com/Unix/Sh.html' ;;
-'bash' ) open 'http://tldp.org/LDP/abs/html/' ;;
-
-'cscout' ) open 'http://www.spinellis.gr/cscout/doc/' ;;
-
-'fvwm' ) open 'http://fvwm.org/doc/unstable/allCommands.html' ;;
-'fvwm man' ) open 'http://fvwm.org/documentation/manpages/stable/' ;;
-
-'php' ) open 'http://php.net/manual/en/' ;;
-'perl' ) open 'http://perldoc.perl.org/' ;;
-'perl cpan' | 'cpan' ) open 'http://www.cpan.org/' ;;
-'cpan '* ) open "http://search.cpan.org/search?mode=all&query=${SELECTION2}/" ;;
-
-'gems' | 'ruby gems' ) open 'http://rubygems.org/' ;;
-'All About Circuits' ) open 'http://www.allaboutcircuits.com/' ;;
-
-'rfc '* ) open "http://tools.ietf.org/html/rfc${SELECTION2}" ;;
-'ien '* ) open "http://www.postel.org/ien/txt/ien${SELECTION2}.txt" ;;
-
-'man '* ) open "http://www.freebsd.org/cgi/man.cgi?query=${SELECTION2}" ;;
-'pman '* ) open "http://www.freebsd.org/cgi/man.cgi?query=${SELECTION2}&manpath=ports" ;;
-'oman '* ) open "http://pubs.opengroup.org/cgi/kman.cgi?value=${SELECTION2}" ;;
-'lman '* ) open "http://www.linuxmanpages.com/search.php?term=${SELECTION2}&section=-1&submitted=1" ;;
-
-'http://'* | 'https://'* ) open $SELECTION
-esac
-
-# vim: set ts=8 sw=8:
View
25 config/wmscripts/rmCurrentSong.sh
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-# "THE BEER-WARE LICENSE":
-# Aldis Berjoza wrote this file. As long as you retain this notice you
-# can do whatever you want with this stuff. If we meet some day, and you think
-# this stuff is worth it, you can buy me a beer in return. <graudeejs@gmail.com>
-
-
-PID=`pgrep mplayer`
-[ $? -ne 0 ] && exit 1
-
-FILE=`procstat -f $PID | sed -n '/ 4 v r r-------/s#.* /#/#p'`
-
-cat <<EOF | message.sh -file - \
- -title "WARNING: Delete file?" \
- -bg '#FF9090' \
- -buttons "!!! YES !!!:123,_Cancel:0" \
- -default "_Cancel"
-Are you sure you want to delete this file?
-
-$FILE
-
-EOF
-
-[ $? -eq 123 ] && rm -f "$FILE"
View
3  config/wmscripts/scratchpad.sh
@@ -1,3 +0,0 @@
-#!/bin/sh
-SCRATCHPAD=${1:-scratchpad}
-tmux has-session -t $SCRATCHPAD && tmux attach-session -t $SCRATCHPAD || tmux new-session -s $SCRATCHPAD
Please sign in to comment.
Something went wrong with that request. Please try again.