14 # leave some space at the top and the bottom of the screen
17 # use enter for shell commands
22 # =-=-=-=-= custom 'go to' commands
25 map gd. cd ~/Downloads
26 map gdw cd ~/Downloads/wallpapers
27 map gds cd ~/Downloads/screenshots
32 # map gsc cd ~/School/cs145
33 # map gsm5 cd ~/School/math135
34 # map gsm7 cd ~/School/math137
35 # map gsp cd ~/School/phys121
36 # map gss cd ~/School/spcom223
38 map gsc cd ~/School/cs146
39 map gsm6 cd ~/School/math136
40 map gsm8 cd ~/School/math138
41 map gsp cd ~/School/phys175
42 map gse cd ~/School/econ101
49 map gd. cd ~/Downloads
57 # define a custom 'open' command
58 # This command is called when current file is not a directory. You may want to
59 # use either file extensions and/or mime types here. Below uses an editor for
60 # text files and a file opener for the rest.
62 case $(file --mime-type $f -b) in
64 *) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
68 cmd mkdir % echo "New directory name:"; read dirname; mkdir $dirname
70 cmd touch %echo "New file name:"; read filename; touch $filename