Fix spacing in README

This commit is contained in:
2024-07-04 22:44:17 +01:00
parent d59ab57396
commit b4511d3be4

View File

@ -1,34 +1,34 @@
# utility_scripts: a collection of miscellaneous scripts for use on my GNU/Linux laptop # utility_scripts: a collection of miscellaneous scripts for use on my GNU/Linux laptop
- `autopape.sh`: a simple script to endlessly loop through each image in a directory and set said image as the desktop wallpaper for a specified time period. - `autopape.sh`: a simple script to endlessly loop through each image in a directory and set said image as the desktop wallpaper for a specified time period.
Both the command used to set the wallpaper and the time interval between wallpaper changes can be specified with optional flags & arguments. Both the command used to set the wallpaper and the time interval between wallpaper changes can be specified with optional flags & arguments.
Uses `feh --bg-fill` & an interval of `1m` by default. Uses `feh --bg-fill` & an interval of `1m` by default.
- `bluetooth-off.sh`: script for disabling bluetooth with bluetoothcl on a system that uses - `bluetooth-off.sh`: script for disabling bluetooth with bluetoothcl on a system that uses
runit as its init system (such as Void GNU/Linux). runit as its init system (such as Void GNU/Linux).
- `bluetooth-on.sh`: Same as `bluetooth-off.sh` but for enabling bluetooth. - `bluetooth-on.sh`: Same as `bluetooth-off.sh` but for enabling bluetooth.
- `bspwm_window_count.sh`: script for listing the number of open windows on the current "desktop" (workspace) with the bspwm window manager. - `bspwm_window_count.sh`: script for listing the number of open windows on the current "desktop" (workspace) with the bspwm window manager.
Primarily for use in status bars as indicator that windows may be hidden behind another when in floating or monocle mode. Primarily for use in status bars as indicator that windows may be hidden behind another when in floating or monocle mode.
- `clean_files.sh`: script that loops through each file in a directory, opens each file with the `mimeopen` utility, and prompts the user to decide whether - `clean_files.sh`: script that loops through each file in a directory, opens each file with the `mimeopen` utility, and prompts the user to decide whether
or not to delete the image. or not to delete the image.
- `ensure_connected.sh`: script to remedy my broken WiFi, which has an issue of disconnecting unpredictably and then requiring several attempts to reconnect as - `ensure_connected.sh`: script to remedy my broken WiFi, which has an issue of disconnecting unpredictably and then requiring several attempts to reconnect as
if the password supplied were incorrect despite it not being changed since the inital connection. if the password supplied were incorrect despite it not being changed since the inital connection.
This script checks if the WiFi is connected at regular intervals, and if not will keep trying to reconnect until successful. This script checks if the WiFi is connected at regular intervals, and if not will keep trying to reconnect until successful.
Reads WiFi network name from a `config.env` file and uses the hashed password already store by NetworkManager. Reads WiFi network name from a `config.env` file and uses the hashed password already store by NetworkManager.
- `file_previewer.sh`: a script for generating terminal file previews, for use in the terminal file manager `lf`. - `file_previewer.sh`: a script for generating terminal file previews, for use in the terminal file manager `lf`.
Uses the `mimetype` utility to identify the filetype and generates an appropriate preview (text, ASCII image, etc). Uses the `mimetype` utility to identify the filetype and generates an appropriate preview (text, ASCII image, etc).
- `hide_bar.sh`: script for hiding & unhiding the polybar bar on the bspwm window manager. - `hide_bar.sh`: script for hiding & unhiding the polybar bar on the bspwm window manager.
- `hugo_post.sh`: simple script to create a new Hugo post with the directory structure `/content/posts/Post Title/index.md` instead of the default - `hugo_post.sh`: simple script to create a new Hugo post with the directory structure `/content/posts/Post Title/index.md` instead of the default
`/content/posts/Post Title.md` created when you run the command `hugo new content`. `/content/posts/Post Title.md` created when you run the command `hugo new content`.
- `list_manual_pkgs.sh`: one-line script to list only the names of packages manually installed with the xbps package manager (the default Void package manager). - `list_manual_pkgs.sh`: one-line script to list only the names of packages manually installed with the xbps package manager (the default Void package manager).
- `qutebrowser_search.sh`: script that finds all the search engines defined in the qutebrowser `config.py` configuration file and makes them available for - `qutebrowser_search.sh`: script that finds all the search engines defined in the qutebrowser `config.py` configuration file and makes them available for
searching via dmenu, i.e. allow web searching with qutebrowser without having to wait for it to start up before you start your search. searching via dmenu, i.e. allow web searching with qutebrowser without having to wait for it to start up before you start your search.
- `repos_checker.sh`: script to find all of the Git repositories in the current directory & its sub-directories and display each found repository's `git status`. - `repos_checker.sh`: script to find all of the Git repositories in the current directory & its sub-directories and display each found repository's `git status`.
- `screenshot.sh`: screenshot script with selection using `maim` that both saves the image file and adds the image to the `xclip` clipboard, and notifies the user - `screenshot.sh`: screenshot script with selection using `maim` that both saves the image file and adds the image to the `xclip` clipboard, and notifies the user
of the screenshot via `notify-send`. of the screenshot via `notify-send`.
- `stdin_to_notis.sh`: scripts that reads from `stdin` and sends each line as a system notification. - `stdin_to_notis.sh`: scripts that reads from `stdin` and sends each line as a system notification.
Intended for use when a program that outputs to `stdout` is called from a non-terminal or graphical program, making the `stdout` output inaccessible. Intended for use when a program that outputs to `stdout` is called from a non-terminal or graphical program, making the `stdout` output inaccessible.
The output can instead be piped into this script to make it readable as a system notification. The output can instead be piped into this script to make it readable as a system notification.
- `stopwatch.sh`: simple stopwatch script that counts the elapsed time in seconds, and displays it in the format HH:MM:SS. - `stopwatch.sh`: simple stopwatch script that counts the elapsed time in seconds, and displays it in the format HH:MM:SS.
- `sync_music.sh`: script to sync my Android phone's music library to the contents of my `~/media/music/` directory, i.e. copy my music library from my - `sync_music.sh`: script to sync my Android phone's music library to the contents of my `~/media/music/` directory, i.e. copy my music library from my
laptop to my phone. laptop to my phone.
- `trippy.sh`: script that displays random visual data to the screen (only works when called from a TTY). - `trippy.sh`: script that displays random visual data to the screen (only works when called from a TTY).
- `webcam.sh`: one-line script that uses the video viewer program `mpv` as a webcam by using `/dev/video0` as its video file source. - `webcam.sh`: one-line script that uses the video viewer program `mpv` as a webcam by using `/dev/video0` as its video file source.