Scripts

I made some useful POSIX-compliant scripts in ~/.local/bin/. This document will try to demonstrate what each script can do.

Screen Capture ~

Scripts used to capture the screen in various ways. The default file timestamp is %Y-%m-%d_%H-%M-%S (ISO 8601).

Screenshot ~

The screenshot command allows you to capture screenshots with different modes:

Screenshots are saved as .png files in ~/Pictures/Screenshots/.

Screen Recorder ~

The record command records the screen with different modes:

When recording starts, a new block appears in the status bar (sb-record). Recordings are saved as .mp4 files in ~/Videos/Recordings/.

Statusbar Blocks ~

These scripts can be found under statusbar/, and are invoked by dwmblocks for information on the statusbar:

Block Description
sb-battery Battery state and percentage.
sb-clock Clock (%H-%M-%S).
sb-internet Internet network name.
sb-record Recording status.
sb-volume Volume level.

Wallpaper Changer ~

Invoked by wallpaper; changes the wallpaper and generates a respective colorscheme to sync throughout all programs (using wallust). If no file is specified, it displays a nsxiv prompt to chose wallpapers from ~/Pictures/Wallpapers/. If --random is used, a random image from ~/Pictures/Wallpapers/ is chosen.