Wrapper for opencode that shows a spinner while waiting for responses. Uses gum spin for visual feedback during LLM processing.
Show current directory in window title. This is not standard so might not work on someplaces.
Simple script to open a codi notebook in Neovim.
Displays space invaders in the different terminal colors. ANSI color scheme script featuring PACMAN Author: pfh Source: http://crunchbang.org/forums/viewtopic.php?pid=144481#p144481 Initializing procedure by lolilolicon
Helpful to help mount external devices/android devices. Requires bemenu, simple-mtpfs, and optionally udisks2. Prefers using udisks2 but falls back to mount/umount. Might not work for all kinds of Android phones (check: Arch wiki android).
Use bemenu to record stuff (screen, audio, camera, etc..) If there is already a running instance, user will be prompted to end it.
bemenu TODO list and file editor Tool I use to take quick notes and keep track of information. It can handle multiple files, organize lines alphabetically, and get rid of blank/empty lines. Depends on suckless's.
This bemenu wrapper is a replacement for the default dmenu_run:
- Uses a cache file and sorts it by number of usages (has max entries for cache file);
- Runs command in a new terminal window if
;is appended to the command; - Has option to list and browse files (cd's to them using file manager);
- Also lists directories up to a certain depth and cd's to them if selected. Depends on bemenu.
Control user systemd units via dmenu-like menus. Part of UWSM but works standalone. Supports fuzzel, wofi, rofi, tofi, bemenu, wmenu, dmenu.
Generates git commit messages using opencode LLM. Extracts the message from opencode's code fence output, signs and opens editor.
My git wrapper. Calls git status when no argument is given.
Ends GameMode and reloads Hyprland configuration. Sends a desktop notification when GameMode ends.
Starts GameMode for gaming with animations/effects disabled. Sends a desktop notification and runs the gamemode configuration script.
Uses yt-dlp to download subtitles from a YouTube video. Each line of the output corresponds to a subtitle line. Usage: getsubs
Imports settings from gtk-3.0/settings.ini to gsettings Used for wayland See sway wiki page about GTK 3 I edited it
Wrapper for lf to cd to the last visited directory on exit. Usefull for keybinds. Slight adaptation from the suggestion given on lf's wiki. Open lf on current directory and cd to the last shown dir on exit
Compile a markdown file to pdf. Depends on: pandoc (markdown to PDF), pdfsmallifier script (compress PDF) Usage: md2pdf [--bw] https://leancrew.com/all-this/2022/01/reducing-the-size-of-large-pdfs
Script that calls maxima on a terminal. It uses rlwrap for history and built-ins file (also for getline). It is based on rmaxima but it has a few improvements. Depends on maxima.
switch the default sink (audio output) to next one available Selects by ID and wrap-around
manage my noita backups
Upload files/dirs tp OpenDrive for sharing. Uses WebDav for upload the API to get the file URL. OpenDrvive WebDAV Public folder is usually "Public Folder"
Usage: ./opendrive_upload file1 [file2 ...]
Environment variables: OPENDRIVE_USER, OPENDRIVE_PASS, OPENDRIVE_FOLDER_ID Adjust FOLDER_PATH as needed (relative to your OpenDrive root)
Attempts to make PDF file smaller. Doesn't work everytime. Depends on: ghostscript (compress PDF). For input file "input.pdf", the output is "input.sml.pdf" Usage: pdfsmallifier [--bw] <input.pdf>
Converts text to regional indicator emojis for Discord/chat. Supports letters, accented characters, numbers, and punctuation. Args: -f (file), -c (clap), -e (eyes), -p (partying face)
Sets the brightness of external monitors.
Just pass the number and it sets the same value on all detected monitors.
The previous brightness value for each monitor is stored on a cache file and
can be restored by the restore command. The lower command sets all monitors
to a pre-defined low value (default 10).
Measure screen area. Basically a wrapper for slurp with notifications.
Depends on slurp (but could use something like hacksaw if I was on X11).
Script that can:
- Take full-screen screen-shots (saves them in a previously specified folder);
- Screen-shot a selection of the screen (places the image in the clipboard);
- Output color information of a selection (saves RGB color code in clipboard and show a notification for it too).
Args:
- "snip" - take a snip and pass it to the clipboard (just clicking get the full clicked window);
- "snip-edit" - take a snip and edit it
- "picker" - color picker (needs work);
- "current" - screenshot current screen;
- "current-save" - screenshot current screen and auto save it to $SCREENSHOT_SAVEDIR directory;
- "ocr" - select area and copy text;
- no args - dmenu arg selection. Depends on:
- grim
- slurp
- satty
- hyprpicker
- tesseract-ocr
- wl-clipboard
- bemenu
add alias (shortcuts) for configured dirs based on https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/shortcuts
A Snake clone I made (and have been slightly modifing/improving over time) as a final project for a linux terminal workflow/bash scripting school class. It has a lot of "bashisms" so it needs to be run on bash. Sometimes I just call it on a terminal to kill time. Instructions
W, A, S, Dfor movement;Pfor pause.Esc/Qfor quit.- Eat the @ signs (apples)
- Don't eat the # (walls) or yourself.
Shows a spinner in the terminal for as long as the script runs. Start this script in the background and kill it when your main script ends.
Starts the Wayland compositor using uwsm. Checks may-start, presents selection menu, then starts default session.
Summarizes a YouTube video using yt-dlp and an LLM. Does this by extracting the video's subtitles, either original or auto-generated, and passing them to an LLM for summarization. Usage: sumvid
If you see a continuous color spectrum, you have truecolor support https://github.com/termstandard/colors