handy scripts
Find a file
2026-09-13 11:56:10 -03:00
clangformat.bash fififi (don't litter /home/texturawasd/Scripts:/home/texturawasd/Scripts:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl; check for executable bit instead of filename extension) 2026-08-27 18:49:43 -03:00
copy_scripts_and_add_path.bash fififi (don't litter /home/texturawasd/Scripts:/home/texturawasd/Scripts:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl; check for executable bit instead of filename extension) 2026-08-27 18:49:43 -03:00
discord_flatpak_launch.sh discord launch wrapper for dwl/wmenu 2026-09-04 20:37:08 -03:00
LICENSE clang-format bash script + license 2026-08-20 07:43:56 -03:00
profiles.sh power profiles 2026-09-07 01:00:15 -03:00
readme.md update readme, fix wifi.sh later tho 2026-09-13 11:56:10 -03:00
repo_ssh.sh also specify the repo for repo_ssh.sh 2026-08-22 14:55:53 -03:00
screenshot.sh screenshot.sh 2026-09-06 19:22:39 -03:00
wifi.sh wifi script with wmenu 2026-09-11 01:55:22 -03:00

Simple scripts

Just some scripts to automate or abstract common tasks

their file extension corresponds to the language they're written in, and they are one-file (and intended to be able to just ./execute them)

  1. copy_scripts_and_add_path.bash - add these scripts to "~/Scripts" and add that directory to $PATH.

  2. repo_ssh.sh - set up identity for a git repo at the cwd. Safely curl it and pipe it to sh without looking at it first from: https://static.texturawasd.net/scripts/repo_ssh.sh. Arguments: $ repo_ssh.sh 'email@example.com' 'User's name' 'repo/name'; or just --verify

  3. clang-format.bash - apply .clang-format and .clang-tidy (from my page as well) also available at https://static.texturawasd.net/scripts/clangformat.bash

  4. screenshot.sh - take a screenshot using grim and slurp and copy it with wl-copy, I bind it to the PrintScreen key in DWL

  5. discord_flatpak_launch.sh - launch discord (com.discordapp.Discord flatpak) so i can launch it from wmenu

  6. profiles.sh - set power profiles with tlpctl