Some Bash scripts for convenience. Mostly used in my dotfiles or other scripts.
Toggle sound (mute/unmute) with amixer.
Change the following theme:
Change tmux theme.
Copy to clipboard strings that are regularly used with fzf.
A script to open Docker on macOS and block until Docker is initialized.
Loop through a set of git repos and clone them locally if missing.
Pull git repos belonging to a particular user.
Whether we are in a tmux session.
Whether we are in an Arch Linux system.
Whether we are in a Linux system.
Whether we are in a macOS system.
Open the lf file manager with Überzug++ for image preview.
Simulate hitting a key on OS X.
A script that is executed once during macOS login.
- Starts Emacs daemon.
- Add keys to the ssh agent with password from the keychain.
Prints the current battery status and capacity.
Prints the current datetime in yyyy-mm-dd HH:MM format.
Change screen brightness with light.
Toggle sound (mute/unmute) with pactl.
Change sound volume with pactl.
Start Emacs daemon.
Run mycli (a MySQL terminal client) and rename the current tmux window to host and database name.
Create a new or switch to an existing tmux session with fzf.
Ssh and rename the current tmux window to the ssh destination.
URL decode a string given via stdin or argument.
URL encode a string given via stdin or argument.
If connected to a vpn, get the ip.
Connect or disconnect TunnelBlick VPN on macOS.