commit 4249f08af2e70d17f5166d38e9c96640efe68eac parent eca806be21013b3c10354104dcce531525214fa1 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 26 Mar 2019 13:41:14 +0100 Add dotfiles in their locations under $HOME Diffstat:
130 files changed, 467 insertions(+), 64 deletions(-)
diff --git a/.config/ranger/shortcuts.conf b/.config/ranger/shortcuts.conf @@ -0,0 +1,404 @@ +map gaa cd ~/articles +map taa tab_new ~/articles +map maa shell mv -v %s ~/articles +map Yaa shell cp -rv %s ~/articles +map gao cd ~/articles/own +map tao tab_new ~/articles/own +map mao shell mv -v %s ~/articles/own +map Yao shell cp -rv %s ~/articles/own +map gag cd ~/articles/glaciology_sedimentology +map tag tab_new ~/articles/glaciology_sedimentology +map mag shell mv -v %s ~/articles/glaciology_sedimentology +map Yag shell cp -rv %s ~/articles/glaciology_sedimentology +map gbin cd ~/bin +map tbin tab_new ~/bin +map mbin shell mv -v %s ~/bin +map Ybin shell cp -rv %s ~/bin +map gbb cd ~/books +map tbb tab_new ~/books +map mbb shell mv -v %s ~/books +map Ybb shell cp -rv %s ~/books +map gbc cd ~/books/cheatsheets +map tbc tab_new ~/books/cheatsheets +map mbc shell mv -v %s ~/books/cheatsheets +map Ybc shell cp -rv %s ~/books/cheatsheets +map gbd cd ~/books/db +map tbd tab_new ~/books/db +map mbd shell mv -v %s ~/books/db +map Ybd shell cp -rv %s ~/books/db +map gbf cd ~/books/fiction +map tbf tab_new ~/books/fiction +map mbf shell mv -v %s ~/books/fiction +map Ybf shell cp -rv %s ~/books/fiction +map gbg cd ~/books/golang +map tbg tab_new ~/books/golang +map mbg shell mv -v %s ~/books/golang +map Ybg shell cp -rv %s ~/books/golang +map gbl cd ~/books/linux +map tbl tab_new ~/books/linux +map mbl shell mv -v %s ~/books/linux +map Ybl shell cp -rv %s ~/books/linux +map gbn cd ~/books/netsec +map tbn tab_new ~/books/netsec +map mbn shell mv -v %s ~/books/netsec +map Ybn shell cp -rv %s ~/books/netsec +map gbp cd ~/books/photography +map tbp tab_new ~/books/photography +map mbp shell mv -v %s ~/books/photography +map Ybp shell cp -rv %s ~/books/photography +map gby cd ~/books/python +map tby tab_new ~/books/python +map mby shell mv -v %s ~/books/python +map Yby shell cp -rv %s ~/books/python +map gbs cd ~/books/science +map tbs tab_new ~/books/science +map mbs shell mv -v %s ~/books/science +map Ybs shell cp -rv %s ~/books/science +map gbv cd ~/books/vim +map tbv tab_new ~/books/vim +map mbv shell mv -v %s ~/books/vim +map Ybv shell cp -rv %s ~/books/vim +map gcf cd ~/.config +map tcf tab_new ~/.config +map mcf shell mv -v %s ~/.config +map Ycf shell cp -rv %s ~/.config +map gcg cd ~/code/geodatahub +map tcg tab_new ~/code/geodatahub +map mcg shell mv -v %s ~/code/geodatahub +map Ycg shell cp -rv %s ~/code/geodatahub +map gcm cd ~/code/mst +map tcm tab_new ~/code/mst +map mcm shell mv -v %s ~/code/mst +map Ycm shell cp -rv %s ~/code/mst +map gcs cd ~/code/sphere +map tcs tab_new ~/code/sphere +map mcs shell mv -v %s ~/code/sphere +map Ycs shell cp -rv %s ~/code/sphere +map gcw cd ~/code/webpage +map tcw tab_new ~/code/webpage +map mcw shell mv -v %s ~/code/webpage +map Ycw shell cp -rv %s ~/code/webpage +map gD cd ~/code/dotfiles +map tD tab_new ~/code/dotfiles +map mD shell mv -v %s ~/code/dotfiles +map YD shell cp -rv %s ~/code/dotfiles +map gdd cd ~/doc +map tdd tab_new ~/doc +map mdd shell mv -v %s ~/doc +map Ydd shell cp -rv %s ~/doc +map gdc cd ~/doc/camera +map tdc tab_new ~/doc/camera +map mdc shell mv -v %s ~/doc/camera +map Ydc shell cp -rv %s ~/doc/camera +map gdf cd ~/doc/finances +map tdf tab_new ~/doc/finances +map mdf shell mv -v %s ~/doc/finances +map Ydf shell cp -rv %s ~/doc/finances +map gdg cd ~/doc/geodatahub +map tdg tab_new ~/doc/geodatahub +map mdg shell mv -v %s ~/doc/geodatahub +map Ydg shell cp -rv %s ~/doc/geodatahub +map gdp cd ~/doc/photography +map tdp tab_new ~/doc/photography +map mdp shell mv -v %s ~/doc/photography +map Ydp shell cp -rv %s ~/doc/photography +map gdr cd ~/doc/receipts +map tdr tab_new ~/doc/receipts +map mdr shell mv -v %s ~/doc/receipts +map Ydr shell cp -rv %s ~/doc/receipts +map gdt cd ~/doc/thinkpad_x220 +map tdt tab_new ~/doc/thinkpad_x220 +map mdt shell mv -v %s ~/doc/thinkpad_x220 +map Ydt shell cp -rv %s ~/doc/thinkpad_x220 +map gdv cd ~/doc/vigtige_papirer +map tdv tab_new ~/doc/vigtige_papirer +map mdv shell mv -v %s ~/doc/vigtige_papirer +map Ydv shell cp -rv %s ~/doc/vigtige_papirer +map ge cd /etc +map te tab_new /etc +map me shell mv -v %s /etc +map Ye shell cp -rv %s /etc +map gh cd ~/ +map th tab_new ~/ +map mh shell mv -v %s ~/ +map Yh shell cp -rv %s ~/ +map gmnt cd /mnt +map tmnt tab_new /mnt +map mmnt shell mv -v %s /mnt +map Ymnt shell cp -rv %s /mnt +map gM cd ~/music +map tM tab_new ~/music +map mM shell mv -v %s ~/music +map YM shell cp -rv %s ~/music +map gpp cd ~/photos +map tpp tab_new ~/photos +map mpp shell mv -v %s ~/photos +map Ypp shell cp -rv %s ~/photos +map gsrv cd /mnt/ad-server-volumes/ext2 +map tsrv tab_new /mnt/ad-server-volumes/ext2 +map msrv shell mv -v %s /mnt/ad-server-volumes/ext2 +map Ysrv shell cp -rv %s /mnt/ad-server-volumes/ext2 +map gt cd ~/tmp +map tt tab_new ~/tmp +map mt shell mv -v %s ~/tmp +map Yt shell cp -rv %s ~/tmp +map gu cd ~/uni +map tu tab_new ~/uni +map mu shell mv -v %s ~/uni +map Yu shell cp -rv %s ~/uni +map gue cd ~/uni/events +map tue tab_new ~/uni/events +map mue shell mv -v %s ~/uni/events +map Yue shell cp -rv %s ~/uni/events +map gup cd ~/uni/postdoc +map tup tab_new ~/uni/postdoc +map mup shell mv -v %s ~/uni/postdoc +map Yup shell cp -rv %s ~/uni/postdoc +map gupr cd ~/uni/presentations +map tupr tab_new ~/uni/presentations +map mupr shell mv -v %s ~/uni/presentations +map Yupr shell cp -rv %s ~/uni/presentations +map guj cd ~/uni/job +map tuj tab_new ~/uni/job +map muj shell mv -v %s ~/uni/job +map Yuj shell cp -rv %s ~/uni/job +map gujc cd ~/uni/job/cv +map tujc tab_new ~/uni/job/cv +map mujc shell mv -v %s ~/uni/job/cv +map Yujc shell cp -rv %s ~/uni/job/cv +map gvv cd ~/videos +map tvv tab_new ~/videos +map mvv shell mv -v %s ~/videos +map Yvv shell cp -rv %s ~/videos +map gvp cd ~/videos/photo +map tvp tab_new ~/videos/photo +map mvp shell mv -v %s ~/videos/photo +map Yvp shell cp -rv %s ~/videos/photo +map gvs cd ~/videos/science +map tvs tab_new ~/videos/science +map mvs shell mv -v %s ~/videos/science +map Yvs shell cp -rv %s ~/videos/science +map gvt cd ~/videos/tech +map tvt tab_new ~/videos/tech +map mvt shell mv -v %s ~/videos/tech +map Yvt shell cp -rv %s ~/videos/tech +map bf shell $EDITOR ~/.bmfiles +map bd shell $EDITOR ~/.bmdirs +map cfb shell $EDITOR ~/.config/i3/i3blocks +map cfd shell $EDITOR ~/code/dotfiles/lib/dwm/config.h +map cfm shell $EDITOR ~/.mutt/muttrc +map cfn shell $EDITOR ~/.config/newsboat/config +map cfr shell $EDITOR ~/.config/ranger/rc.conf +map cfs shell $EDITOR ~/code/dotfiles/lib/st/config.h +map cfS shell $EDITOR ~/code/dotfiles/lib/slstatus/config.h +map cft shell $EDITOR ~/code/dotfiles/lib/tabbed/config.h +map cfi shell $EDITOR ~/.config/i3/config +map cfu shell $EDITOR ~/.config/newsboat/urls +map cfv shell $EDITOR ~/.vim/vimrc +map cfx shell $EDITOR ~/.xinitrc +map cfX shell $EDITOR ~/.Xresources +map cfz shell $EDITOR ~/.zshrc +map cv shell $EDITOR ~/uni/job/cv/cv.tex +map eb shell $EDITOR ~/articles/own/BIB.bib +map gaa cd ~/articles +map taa tab_new ~/articles +map maa shell mv -v %s ~/articles +map Yaa shell cp -rv %s ~/articles +map gao cd ~/articles/own +map tao tab_new ~/articles/own +map mao shell mv -v %s ~/articles/own +map Yao shell cp -rv %s ~/articles/own +map gag cd ~/articles/glaciology_sedimentology +map tag tab_new ~/articles/glaciology_sedimentology +map mag shell mv -v %s ~/articles/glaciology_sedimentology +map Yag shell cp -rv %s ~/articles/glaciology_sedimentology +map gbin cd ~/bin +map tbin tab_new ~/bin +map mbin shell mv -v %s ~/bin +map Ybin shell cp -rv %s ~/bin +map gbb cd ~/books +map tbb tab_new ~/books +map mbb shell mv -v %s ~/books +map Ybb shell cp -rv %s ~/books +map gbc cd ~/books/cheatsheets +map tbc tab_new ~/books/cheatsheets +map mbc shell mv -v %s ~/books/cheatsheets +map Ybc shell cp -rv %s ~/books/cheatsheets +map gbd cd ~/books/db +map tbd tab_new ~/books/db +map mbd shell mv -v %s ~/books/db +map Ybd shell cp -rv %s ~/books/db +map gbf cd ~/books/fiction +map tbf tab_new ~/books/fiction +map mbf shell mv -v %s ~/books/fiction +map Ybf shell cp -rv %s ~/books/fiction +map gbg cd ~/books/golang +map tbg tab_new ~/books/golang +map mbg shell mv -v %s ~/books/golang +map Ybg shell cp -rv %s ~/books/golang +map gbl cd ~/books/linux +map tbl tab_new ~/books/linux +map mbl shell mv -v %s ~/books/linux +map Ybl shell cp -rv %s ~/books/linux +map gbn cd ~/books/netsec +map tbn tab_new ~/books/netsec +map mbn shell mv -v %s ~/books/netsec +map Ybn shell cp -rv %s ~/books/netsec +map gbp cd ~/books/photography +map tbp tab_new ~/books/photography +map mbp shell mv -v %s ~/books/photography +map Ybp shell cp -rv %s ~/books/photography +map gby cd ~/books/python +map tby tab_new ~/books/python +map mby shell mv -v %s ~/books/python +map Yby shell cp -rv %s ~/books/python +map gbs cd ~/books/science +map tbs tab_new ~/books/science +map mbs shell mv -v %s ~/books/science +map Ybs shell cp -rv %s ~/books/science +map gbv cd ~/books/vim +map tbv tab_new ~/books/vim +map mbv shell mv -v %s ~/books/vim +map Ybv shell cp -rv %s ~/books/vim +map gcf cd ~/.config +map tcf tab_new ~/.config +map mcf shell mv -v %s ~/.config +map Ycf shell cp -rv %s ~/.config +map gcg cd ~/code/geodatahub +map tcg tab_new ~/code/geodatahub +map mcg shell mv -v %s ~/code/geodatahub +map Ycg shell cp -rv %s ~/code/geodatahub +map gcm cd ~/code/mst +map tcm tab_new ~/code/mst +map mcm shell mv -v %s ~/code/mst +map Ycm shell cp -rv %s ~/code/mst +map gcs cd ~/code/sphere +map tcs tab_new ~/code/sphere +map mcs shell mv -v %s ~/code/sphere +map Ycs shell cp -rv %s ~/code/sphere +map gcw cd ~/code/webpage +map tcw tab_new ~/code/webpage +map mcw shell mv -v %s ~/code/webpage +map Ycw shell cp -rv %s ~/code/webpage +map gD cd ~/code/dotfiles +map tD tab_new ~/code/dotfiles +map mD shell mv -v %s ~/code/dotfiles +map YD shell cp -rv %s ~/code/dotfiles +map gdd cd ~/doc +map tdd tab_new ~/doc +map mdd shell mv -v %s ~/doc +map Ydd shell cp -rv %s ~/doc +map gdc cd ~/doc/camera +map tdc tab_new ~/doc/camera +map mdc shell mv -v %s ~/doc/camera +map Ydc shell cp -rv %s ~/doc/camera +map gdf cd ~/doc/finances +map tdf tab_new ~/doc/finances +map mdf shell mv -v %s ~/doc/finances +map Ydf shell cp -rv %s ~/doc/finances +map gdg cd ~/doc/geodatahub +map tdg tab_new ~/doc/geodatahub +map mdg shell mv -v %s ~/doc/geodatahub +map Ydg shell cp -rv %s ~/doc/geodatahub +map gdp cd ~/doc/photography +map tdp tab_new ~/doc/photography +map mdp shell mv -v %s ~/doc/photography +map Ydp shell cp -rv %s ~/doc/photography +map gdr cd ~/doc/receipts +map tdr tab_new ~/doc/receipts +map mdr shell mv -v %s ~/doc/receipts +map Ydr shell cp -rv %s ~/doc/receipts +map gdt cd ~/doc/thinkpad_x220 +map tdt tab_new ~/doc/thinkpad_x220 +map mdt shell mv -v %s ~/doc/thinkpad_x220 +map Ydt shell cp -rv %s ~/doc/thinkpad_x220 +map gdv cd ~/doc/vigtige_papirer +map tdv tab_new ~/doc/vigtige_papirer +map mdv shell mv -v %s ~/doc/vigtige_papirer +map Ydv shell cp -rv %s ~/doc/vigtige_papirer +map ge cd /etc +map te tab_new /etc +map me shell mv -v %s /etc +map Ye shell cp -rv %s /etc +map gh cd ~/ +map th tab_new ~/ +map mh shell mv -v %s ~/ +map Yh shell cp -rv %s ~/ +map gmnt cd /mnt +map tmnt tab_new /mnt +map mmnt shell mv -v %s /mnt +map Ymnt shell cp -rv %s /mnt +map gM cd ~/music +map tM tab_new ~/music +map mM shell mv -v %s ~/music +map YM shell cp -rv %s ~/music +map gpp cd ~/photos +map tpp tab_new ~/photos +map mpp shell mv -v %s ~/photos +map Ypp shell cp -rv %s ~/photos +map gsrv cd /mnt/ad-server-volumes/ext2 +map tsrv tab_new /mnt/ad-server-volumes/ext2 +map msrv shell mv -v %s /mnt/ad-server-volumes/ext2 +map Ysrv shell cp -rv %s /mnt/ad-server-volumes/ext2 +map gt cd ~/tmp +map tt tab_new ~/tmp +map mt shell mv -v %s ~/tmp +map Yt shell cp -rv %s ~/tmp +map gu cd ~/uni +map tu tab_new ~/uni +map mu shell mv -v %s ~/uni +map Yu shell cp -rv %s ~/uni +map gue cd ~/uni/events +map tue tab_new ~/uni/events +map mue shell mv -v %s ~/uni/events +map Yue shell cp -rv %s ~/uni/events +map gup cd ~/uni/postdoc +map tup tab_new ~/uni/postdoc +map mup shell mv -v %s ~/uni/postdoc +map Yup shell cp -rv %s ~/uni/postdoc +map gupr cd ~/uni/presentations +map tupr tab_new ~/uni/presentations +map mupr shell mv -v %s ~/uni/presentations +map Yupr shell cp -rv %s ~/uni/presentations +map guj cd ~/uni/job +map tuj tab_new ~/uni/job +map muj shell mv -v %s ~/uni/job +map Yuj shell cp -rv %s ~/uni/job +map gujc cd ~/uni/job/cv +map tujc tab_new ~/uni/job/cv +map mujc shell mv -v %s ~/uni/job/cv +map Yujc shell cp -rv %s ~/uni/job/cv +map gvv cd ~/videos +map tvv tab_new ~/videos +map mvv shell mv -v %s ~/videos +map Yvv shell cp -rv %s ~/videos +map gvp cd ~/videos/photo +map tvp tab_new ~/videos/photo +map mvp shell mv -v %s ~/videos/photo +map Yvp shell cp -rv %s ~/videos/photo +map gvs cd ~/videos/science +map tvs tab_new ~/videos/science +map mvs shell mv -v %s ~/videos/science +map Yvs shell cp -rv %s ~/videos/science +map gvt cd ~/videos/tech +map tvt tab_new ~/videos/tech +map mvt shell mv -v %s ~/videos/tech +map Yvt shell cp -rv %s ~/videos/tech +map bf shell $EDITOR ~/.bmfiles +map bd shell $EDITOR ~/.bmdirs +map cfb shell $EDITOR ~/.config/i3/i3blocks +map cfd shell $EDITOR ~/code/dotfiles/lib/dwm/config.h +map cfm shell $EDITOR ~/.mutt/muttrc +map cfn shell $EDITOR ~/.config/newsboat/config +map cfr shell $EDITOR ~/.config/ranger/rc.conf +map cfs shell $EDITOR ~/code/dotfiles/lib/st/config.h +map cfS shell $EDITOR ~/code/dotfiles/lib/slstatus/config.h +map cft shell $EDITOR ~/code/dotfiles/lib/tabbed/config.h +map cfi shell $EDITOR ~/.config/i3/config +map cfu shell $EDITOR ~/.config/newsboat/urls +map cfv shell $EDITOR ~/.vim/vimrc +map cfx shell $EDITOR ~/.xinitrc +map cfX shell $EDITOR ~/.Xresources +map cfz shell $EDITOR ~/.zshrc +map cv shell $EDITOR ~/uni/job/cv/cv.tex +map eb shell $EDITOR ~/articles/own/BIB.bib diff --git a/.weechat/python/weechat-vimode b/.weechat/python/weechat-vimode @@ -1 +0,0 @@ -Subproject commit 1e431a12efd970dc5df997b88f2c532cca5511f4 diff --git a/links/bin/alpine-headless b/bin/alpine-headless diff --git a/links/bin/analysis-ssh b/bin/analysis-ssh diff --git a/links/bin/anders b/bin/anders diff --git a/links/bin/articlesearch b/bin/articlesearch diff --git a/links/bin/backup-b2.sh b/bin/backup-b2.sh diff --git a/links/bin/battery-linux b/bin/battery-linux diff --git a/links/bin/battery-osx b/bin/battery-osx diff --git a/links/bin/board b/bin/board diff --git a/links/bin/bookmark b/bin/bookmark diff --git a/links/bin/burn-audio-cd.sh b/bin/burn-audio-cd.sh diff --git a/links/bin/calcurse_reminders.py b/bin/calcurse_reminders.py diff --git a/links/bin/check-broken-links.sh b/bin/check-broken-links.sh diff --git a/links/bin/cht.sh b/bin/cht.sh diff --git a/links/bin/citeparse.sh b/bin/citeparse.sh diff --git a/links/bin/colors-256.sh b/bin/colors-256.sh diff --git a/links/bin/colors.sh b/bin/colors.sh diff --git a/links/bin/colortheme b/bin/colortheme diff --git a/links/bin/contactmenu b/bin/contactmenu diff --git a/links/bin/cosmo-ssh b/bin/cosmo-ssh diff --git a/links/bin/cosmo-sshfs b/bin/cosmo-sshfs diff --git a/links/bin/cosmo-sshfs-unmount b/bin/cosmo-sshfs-unmount diff --git a/links/bin/crun b/bin/crun diff --git a/links/bin/currency b/bin/currency diff --git a/links/bin/dark.sh b/bin/dark.sh diff --git a/links/bin/ddspawn b/bin/ddspawn diff --git a/links/bin/define b/bin/define diff --git a/links/bin/democracy-now-dl b/bin/democracy-now-dl diff --git a/links/bin/detect_file_changes.sh b/bin/detect_file_changes.sh diff --git a/links/bin/displayselect b/bin/displayselect diff --git a/links/bin/dmenu_themed b/bin/dmenu_themed diff --git a/links/bin/dmenumount b/bin/dmenumount diff --git a/links/bin/dmenurecord b/bin/dmenurecord diff --git a/links/bin/dmenuumount b/bin/dmenuumount diff --git a/links/bin/dmenuunicode b/bin/dmenuunicode diff --git a/links/bin/docker-delete-all b/bin/docker-delete-all diff --git a/links/bin/docker-shell b/bin/docker-shell diff --git a/links/bin/dropdowncalc b/bin/dropdowncalc diff --git a/links/bin/ducksearch b/bin/ducksearch diff --git a/links/bin/ejectall b/bin/ejectall diff --git a/bin/fffs b/bin/fffs @@ -0,0 +1 @@ +/home/ad/code/fffs/fffs+ \ No newline at end of file diff --git a/links/bin/ffmpeg-to-mp4.sh b/bin/ffmpeg-to-mp4.sh diff --git a/links/bin/forecast b/bin/forecast diff --git a/links/bin/forecast-sky b/bin/forecast-sky diff --git a/links/bin/fsize.sh b/bin/fsize.sh diff --git a/links/bin/fuzzylaunch b/bin/fuzzylaunch diff --git a/links/bin/gfdl-ssh b/bin/gfdl-ssh diff --git a/links/bin/gitlab-ci b/bin/gitlab-ci diff --git a/links/bin/gitlab-project b/bin/gitlab-project diff --git a/links/bin/google-cloud-lamps-instance1-ssh.sh b/bin/google-cloud-lamps-instance1-ssh.sh diff --git a/links/bin/gpg-extend-expire.sh b/bin/gpg-extend-expire.sh diff --git a/bin/granular-status.sh b/bin/granular-status.sh @@ -0,0 +1 @@ +/Users/ad/code/Granular/granular-status.sh+ \ No newline at end of file diff --git a/links/bin/hardwareinfo.sh b/bin/hardwareinfo.sh diff --git a/links/bin/i3resize b/bin/i3resize diff --git a/links/bin/i3status-mpc.sh b/bin/i3status-mpc.sh diff --git a/links/bin/idkfa-ssh b/bin/idkfa-ssh diff --git a/links/bin/idkfa-sshfs b/bin/idkfa-sshfs diff --git a/links/bin/install_bspwm.sh b/bin/install_bspwm.sh diff --git a/links/bin/irc.sh b/bin/irc.sh diff --git a/links/bin/julia-fast b/bin/julia-fast diff --git a/links/bin/jupiter-download.sh b/bin/jupiter-download.sh diff --git a/links/bin/jupiter-order-download.sh b/bin/jupiter-order-download.sh diff --git a/links/bin/kbd_backlight.sh b/bin/kbd_backlight.sh diff --git a/links/bin/keyboard-layout-switch.sh b/bin/keyboard-layout-switch.sh diff --git a/links/bin/light.sh b/bin/light.sh diff --git a/links/bin/linkhandler b/bin/linkhandler diff --git a/links/bin/mailcheck.sh b/bin/mailcheck.sh diff --git a/links/bin/mailstatus.sh b/bin/mailstatus.sh diff --git a/links/bin/maimfull b/bin/maimfull diff --git a/links/bin/maimpick b/bin/maimpick diff --git a/links/bin/message b/bin/message diff --git a/links/bin/mount-usb.sh b/bin/mount-usb.sh diff --git a/links/bin/mpc-newest.sh b/bin/mpc-newest.sh diff --git a/links/bin/mpc-play-newest.sh b/bin/mpc-play-newest.sh diff --git a/links/bin/mpcdd b/bin/mpcdd diff --git a/links/bin/nethogs b/bin/nethogs diff --git a/links/bin/newsboat-sync b/bin/newsboat-sync diff --git a/links/bin/notify-send b/bin/notify-send diff --git a/links/bin/notmuch-mutt b/bin/notmuch-mutt diff --git a/links/bin/offlineimap-kill.sh b/bin/offlineimap-kill.sh diff --git a/links/bin/open-bookmark.sh b/bin/open-bookmark.sh diff --git a/links/bin/passmenu b/bin/passmenu diff --git a/links/bin/pdf-compress.sh b/bin/pdf-compress.sh diff --git a/links/bin/phony-headless b/bin/phony-headless diff --git a/links/bin/photo-drive-sync.sh b/bin/photo-drive-sync.sh diff --git a/links/bin/princeton-vpn b/bin/princeton-vpn diff --git a/links/bin/pvpython-mac b/bin/pvpython-mac diff --git a/links/bin/scale.sh b/bin/scale.sh diff --git a/links/bin/scholarref.py b/bin/scholarref.py diff --git a/links/bin/shdl b/bin/shdl diff --git a/links/bin/shortcuts b/bin/shortcuts diff --git a/links/bin/showclip b/bin/showclip diff --git a/links/bin/solarized-dark.sh b/bin/solarized-dark.sh diff --git a/links/bin/solarized-light.sh b/bin/solarized-light.sh diff --git a/links/bin/spoof-mac-address.sh b/bin/spoof-mac-address.sh diff --git a/links/bin/subtitle-filename-fix b/bin/subtitle-filename-fix diff --git a/links/bin/surf-open.sh b/bin/surf-open.sh diff --git a/links/bin/susan b/bin/susan diff --git a/links/bin/sync-music-ad-server.sh b/bin/sync-music-ad-server.sh diff --git a/links/bin/t-daemon-toggle b/bin/t-daemon-toggle diff --git a/links/bin/t-followers-diff.sh b/bin/t-followers-diff.sh diff --git a/links/bin/textqr b/bin/textqr diff --git a/links/bin/tiger-ssh b/bin/tiger-ssh diff --git a/links/bin/tmux-fix-scaling.sh b/bin/tmux-fix-scaling.sh diff --git a/links/bin/tmux-irc.sh b/bin/tmux-irc.sh diff --git a/links/bin/tmux-mutt.sh b/bin/tmux-mutt.sh diff --git a/links/bin/tmux-newsboat.sh b/bin/tmux-newsboat.sh diff --git a/links/bin/tmux-utility.sh b/bin/tmux-utility.sh diff --git a/links/bin/tmuxdd b/bin/tmuxdd diff --git a/links/bin/tor-browser-update.sh b/bin/tor-browser-update.sh diff --git a/links/bin/tor-browser.sh b/bin/tor-browser.sh diff --git a/links/bin/tpb b/bin/tpb diff --git a/links/bin/ubuntu-headless b/bin/ubuntu-headless diff --git a/links/bin/umount-usb.sh b/bin/umount-usb.sh diff --git a/links/bin/upload b/bin/upload diff --git a/links/bin/uu b/bin/uu diff --git a/links/bin/uu-pip b/bin/uu-pip diff --git a/links/bin/wallpaper.sh b/bin/wallpaper.sh diff --git a/links/bin/watch.sh b/bin/watch.sh diff --git a/links/bin/xcqr b/bin/xcqr diff --git a/links/bin/xlock b/bin/xlock diff --git a/links/bin/xrandr-auto.sh b/bin/xrandr-auto.sh diff --git a/links/bin/youtube-channel-id b/bin/youtube-channel-id diff --git a/links/bin/youtube-dl-music b/bin/youtube-dl-music diff --git a/links/bin/zzz b/bin/zzz diff --git a/init/10_symlinks.sh b/init/10_symlinks.sh @@ -1,63 +1,63 @@ #!/usr/bin/env bash -shopt -s dotglob -for f in links/*; do - - # Skip . and .. - [ "$f" = "." ] && continue - [ "$f" = ".." ] && continue - - # Skip shell scripts and markdown - [ "${f##*.}" = "md" ] && continue - - # Do not symlink these files/directories - [[ "$f" =~ tags|.git/|.DS_Store|bar/|userChrome.css|init/ ]] && continue - - # .xinitrc doesn't work with XQuartz - [[ "$(uname)" = "Darwin" && "$f" == ".xinitrc" ]] && continue - - SOURCE=$PWD/$f - TARGET=~/$(basename $f) - - # Rename any original files or directories - [ -f $TARGET ] && mv $TARGET ${TARGET}_bck - [ -d $TARGET ] && mv $TARGET ${TARGET}_bck - - # Remove old symlinks - [ -L $TARGET ] && rm $TARGET - - ln -sv $SOURCE $TARGET -done - -# Create folders and non-symlink files -mkdir -p ~/.ipython/profile_default -mkdir -p ~/.mutt/cache -chmod 0700 ~/.mutt/cache -[ -f ~/.mutt/aliases ] || touch ~/.mutt/aliases -mkdir -p ~/tmp - -# Symlink directories from iCloud drive to home -if [ "$(uname)" = "Darwin" ]; then - ln -shvf ~/Library/Mobile\ Documents/com\~apple\~CloudDocs \ - ~/iCloud - ln -shvf ~/iCloud/articles ~/articles - ln -shvf ~/iCloud/articles/own/BIBnew.bib \ - $(kpsexpand '$TEXMFHOME')/bibtex/bib/myfiles/BIB.bib - ln -shvf ~/iCloud/articles/own/BIBnew.bib \ - $(kpsexpand '$TEXMFHOME')/bibtex/bib/BIB.bib - ln -shvf ~/iCloud/src ~/src - ln -shvf ~/iCloud/doc ~/doc - ln -shvf ~/doc/.password-store ~/.password-store - ln -shvf ~/iCloud/uni ~/uni - ln -shvf ~/iCloud/videos ~/videos - ln -shvf \ - ~/Library/Mobile\ Documents/27N4MQEA55~pro~writer/Documents/ \ - ~/iawriter - ln -shvf misc_code/firefox/userContent.css \ - ~/Library/Application\ Support/Firefox/Profiles/ - - # XQuartz.app doesn't work with .xinitrc - [ -L ~/.xinitrc ] && rm ~/.xinitrc -fi +# shopt -s dotglob +# for f in links/*; do +# +# # Skip . and .. +# [ "$f" = "." ] && continue +# [ "$f" = ".." ] && continue +# +# # Skip shell scripts and markdown +# [ "${f##*.}" = "md" ] && continue +# +# # Do not symlink these files/directories +# [[ "$f" =~ tags|.git/|.DS_Store|bar/|userChrome.css|init/ ]] && continue +# +# # .xinitrc doesn't work with XQuartz +# [[ "$(uname)" = "Darwin" && "$f" == ".xinitrc" ]] && continue +# +# SOURCE=$PWD/$f +# TARGET=~/$(basename $f) +# +# # Rename any original files or directories +# [ -f $TARGET ] && mv $TARGET ${TARGET}_bck +# [ -d $TARGET ] && mv $TARGET ${TARGET}_bck +# +# # Remove old symlinks +# [ -L $TARGET ] && rm $TARGET +# +# ln -sv $SOURCE $TARGET +# done +# +# # Create folders and non-symlink files +# mkdir -p ~/.ipython/profile_default +# mkdir -p ~/.mutt/cache +# chmod 0700 ~/.mutt/cache +# [ -f ~/.mutt/aliases ] || touch ~/.mutt/aliases +# mkdir -p ~/tmp +# +# # Symlink directories from iCloud drive to home +# if [ "$(uname)" = "Darwin" ]; then +# ln -shvf ~/Library/Mobile\ Documents/com\~apple\~CloudDocs \ +# ~/iCloud +# ln -shvf ~/iCloud/articles ~/articles +# ln -shvf ~/iCloud/articles/own/BIBnew.bib \ +# $(kpsexpand '$TEXMFHOME')/bibtex/bib/myfiles/BIB.bib +# ln -shvf ~/iCloud/articles/own/BIBnew.bib \ +# $(kpsexpand '$TEXMFHOME')/bibtex/bib/BIB.bib +# ln -shvf ~/iCloud/src ~/src +# ln -shvf ~/iCloud/doc ~/doc +# ln -shvf ~/doc/.password-store ~/.password-store +# ln -shvf ~/iCloud/uni ~/uni +# ln -shvf ~/iCloud/videos ~/videos +# ln -shvf \ +# ~/Library/Mobile\ Documents/27N4MQEA55~pro~writer/Documents/ \ +# ~/iawriter +# ln -shvf misc_code/firefox/userContent.css \ +# ~/Library/Application\ Support/Firefox/Profiles/ +# +# # XQuartz.app doesn't work with .xinitrc +# [ -L ~/.xinitrc ] && rm ~/.xinitrc +# fi [ -x ~/bin/shortcuts ] && ~/bin/shortcuts diff --git a/init/progs/arch.csv b/init/progs/arch.csv diff --git a/links/bin/fffs b/links/bin/fffs @@ -1 +0,0 @@ -/home/ad/code/fffs/fffs- \ No newline at end of file diff --git a/links/bin/granular-status.sh b/links/bin/granular-status.sh @@ -1 +0,0 @@ -/Users/ad/code/Granular/granular-status.sh- \ No newline at end of file