nsbgn / scripts

A collection of useful bash scripts: dmenu interfaces to mpv and pass, keyboard configurations, etcetera.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scripts

Here you will find nifty scripts I wrote to make my life easier. The main repository is at github.

Most of them are pretty messy and only intended for personal use, but I did try to make them small and easy to change, so have a look around and do with them as you please. I'm fond of using dmenu and jq, because they make quick DIY scripts easy.

Currently, the repository contains the following tools:

  • dmenu-mpv: An interface to mpv, as a plain music player that simply offers a shuffled list of full albums to play.
  • dmenu-pass: An interface to pass, as a password manager.
  • dmenu-thesaurus: Present a list of related words by quickly parsing freethesaurus.com with htmlq.
  • xcwd.sh: an alternative to xcwd, lastcwd and i3-shell that returns the working directory of the currently active terminal window, even for urxvt.
  • toggle-pointer: A script to disable and re-enable the mouse pointer.
  • download-article downloads an internet article to a Markdown file.
  • crsync: A script to keep my files synchronised across my devices (ereader, music player, external harddisk, etcetera), by running rsync on a YAML configuration.
  • block: Easily blocking websites through /etc/hosts.
  • printer: Print PDFs as double-sided booklets on cheap printers without automatic double-sided printing.
  • scanner: The command I use for making quick scans. Photographs are automatically separated, cropped, and de-rotated, whereas documents are made black-and-white and heavily compressed.
  • diffpic: A quick script to identify and delete duplicate or visually similar images using findimagedupes and sxiv.

Notices

About

A collection of useful bash scripts: dmenu interfaces to mpv and pass, keyboard configurations, etcetera.

License:The Unlicense


Languages

Language:Shell 68.2%Language:Python 31.8%