benjamin.althu.es open source projects | blog

repository information was fetched from Github 1 year, 4 months ago

My dotfiles and scripts

These configurations and scripts are ultimately optimized for Zsh on Archlinux and support combinations of Bash or Zsh with Archlinux and Debian (or its derivatives: Ubuntu, Linux Mint, etc.).

Installing dotfiles repository

This dotfiles should be installed in a subdirectory of $HOME called dotfiles. The install script is then used to create the correct symlinks pointing to the dotfiles and shell scripts.

Clone the git repository in ~/dotfiles:

cd ~
git clone git://github.com/babab/dotfiles.git

Default install - preserving existing configuration

Change to the created directory and run install.sh from that directory:

cd ~/dotfiles
./install.sh             # shows help information
./install.sh --confirm   # install files

By default, the install script will not create symlinks for any files/directories that already exist.

Complete install

If you don't care about any existing dotfiles and scripts (e.g.: ~/bin/, ~/.profile and ~/.bashrc) you can install everything. This makes sure there are no clashes with existing configurations and is recommended. Optionally create a (temporary) new user account to check it out and test it. The following command will remove existing dotfiles:

cd ~/dotfiles
./install.sh --force

Contents

Small programs and utility scripts

afkfish
AFK fishing clicker script for Minecraft using xdotool.
afkmine
AFK mining clicker script for Minecraft using xdotool.
baraction.sh
Statusbar script for spectrwm (my favorite WM).
ctb
Create temporary backup (create timestamped tar/gz archives of files/directories.
duh
A fancy alias for du -h | sort -h that tees output before showing a sorted version at the end, paged with less.
git-set-remote
Configure a single git remote with multiple --push urls and a read-only fetch url.
htmlcount
Count html elements in a html files or stdin.
loadavg
Show loadavg as a percentage of cores available.
loop
Run a command every second.
make-php-ctags
Create ctags for a PHP project.
metainfo
Show information like mimetype and SHA1/MD5 checksums of a file.
php-lintr
search recursively for scripts and only show output when there are errors.
random-wallpaper
Select a random wallpaper from ~/Pictures/wallpapers and set it using feh.
runserver
Run a http.server, Django or Werkzeug development server depending on project context.
screen-off
Blank the screen using xset.
screenshot.sh
Save a screenshot of a window or full screen in a timestamped file using scrot.
slowcate
Wrapper for sudo find / | grep "searchtext"
touchpad-toggle
Toggle touchpad depending on current status using synclient.
updateand
Update system and reboot or halt computer after a countdown if there are no errors.
urxvt-modeline
Modeline script for rxvt-unicode terminal.
wmtoggle
Switch between using spectrwm or openbox when startx is executed.
wschemaspy
Wrapper for wschemaspy MySQL db graphviz dumps
xs
Alias for $@ > /dev/null 2>&1 & to start programs in X from the terminal.
youtube-dl-clipboard
Send URL in clipboard to youtube-dl (using xclip).
back to home

projects

about me

I am a computer enthusiast and software developer, passionate about free and open source software and Unix-like operating systems.

Copyright © 2015-2016 Benjamin Althues
The code for this website is released under an ISC License

dispass.org | simphplist.org | cloud.babab.nl