Miscellaneous helpers and system administration scripts.
Shell Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
display_tasks.sh
encfs_automount.sh
fehbrowser.sh
mailcheck.sh
memusage.py
pinboard-backup.sh
pipup.py

README.md

Systools

These are miscellaneous helpers and system administration scripts.

browser.sh

Use rofi to present a choice of browser with which to open the given URL.

display_tasks.sh

Display Khal events and Taskwarrior tasks. I bind this to a floating window in i3 in order to get a quick overview of what I should be doing.

# ~/.config/i3/config
for_window [title="^taskwin$"] floating enable
bindsym $mod+t exec termite --title taskwin --geometry=800x600 -e ~/bin/display_tasks.sh

encfs_automount.sh

A Bash script that mounts one or more EncFS volumes using passphrases that have been encrypted with GnuPG.

I have multiple EncFS volumes that need to be mounted as soon as I login. Each volume has a different passphrase. I don't want to have to type each passphrase every time I login. I also don't want to store the passphrases in clear-text on the machine (doing so would defeat the purpose of encrypting the volumes).

My solution is to create a text file that holds a single EncFS passphrase. This is done for every EncFS passphrase, and each file is then individually encrypted with GnuPG. This script then decrypts each EncFS passphrase file and mounts the EncFS volumes. Because gpg-agent(1) remembers the GnuPG passphrase, it only needs to be entered once. This works for both symmetric and asymmetric encryption.

fehbrowser.sh

Open an image in feh while allowing all other images in the directory to be viewed as well. Useful for file browsers.

Source: https://wiki.archlinux.org/index.php/Feh#File_Browser_Image_Launcher

mailcheck.sh

A bash script to get new mail via OfflineImap.

If a continuously running OfflineImap process exists, the script will execute offlineimap once. If no process exists, the script will launch a continuously running OfflineImap process.

memusage.py

A Python script to calculate total memory usage.

This script merely totals the memory used by each process reported by PS(1) for the executing user and presents the result in a human-readable format.

It is useful for WebFaction users and those in a similar environment.

pinboard-backup.sh

A bash script to dump bookmarks as JSON via Pinboard's API.

pipup.py

Check if a newer version of installed packages are available on PyPI.

Original Author: Artur Siekielski

License: MIT