Linux scripts
2026
Play youTube videos via Rofi
This script displays the latest youTube subscriptions with Rofi, and plays the selected video with mpv.
Configure acpid events
With Linux, if you have any unmapped function keys, these examples might help.
Newsboat streaming
This script allows one to stream audio or video content directly from Newsboat.
2025
Alt-Tab script for i3
A Bash script which implements Alt-Tab functionality in the i3 window manager.
Rofi radio station picker
A Bash script to play a radio station with pyradio, using rofi as the radio station selector.
Copy selected colour to clipboard
This script copies the selected colour, using xcolor, to the Linux primary clipboard.
Blezz rofi extension
rofi-blezz is a great extension for rofi, an application and script launcher for Linux.
2024
Bash - read CSV file
This bash script shows how to read and verify the contents of a CSV file, parse program arguments, prompt for user input, and more.
Nextcloud Share access
A Bash script to send an email when a Nextcloud Share is accessed.
Update packages across distros
A Bash script to allow the same command to be used to update the Linux system, regardless of the distro type.
Bash - enable / disable trackpad
A Bash script that uses xinput to enable and disable the trackpad.