Skip to content

HugLifeTiZ/configs-scripts

Repository files navigation

TiZ's Configs and Scripts Repo

Hello there, welcome to my repo of scripts, configs, tweaks, etc etc etc. All of this is public domain so do as you will with it. :)

I don't use a dotfile manager mainly because this repo exists locally as ~/xdg/sync, and is synchronized by Syncthing between all my computers:

  • Aura, my gaming laptop and main squeeze.
  • Marina, my previous gaming laptop, demoted (but also promoted?) to server.
  • NKU____, my work computer. Asset tag redacted.

The config files are then symlinks, like ~/.XCompose being a symlink to ~/xdg/sync/XCompose.

Here is IMO the most interesting stuff.

/gtk*

I don't like thick empty space padding on my UI widgets. So these GTK tweaks reduce them wherever possible. They should be compatible with themes based on Adwaita.

There's also stuff here to remove the shadows drawn by CSD, so that your compositor can draw them instead.

/mozilla

CSS for Mozilla userChrome.css that do the same thing as my GTK customizations.

/devilspie2

Devil's Pie 2 is a scriptable window management automation tool that uses Lua for scripting.

/scripts

Scripts I've written to make certain things more convenient or solve unique problems. You may even find some use for scripts here! This is definitely where the most interesting stuff is, IMO.

Shell scripts (for the most part) are restricted to POSIX sh and checked with Shellcheck. I adopted a philosophy that has made my life easier: "If you can't do it in POSIX, you need a real programming language." When it's Real Programming Language™ time, I like to go with Python 3. And if it's too unwieldy to organize well in a single file, well, then you end up with my other repos.

IMO, the most interesting scripts:

  • auto-steam: A Steam wrapper that blocks until the game it's running is done. Also exits Steam automatically. A workaround/solution for Pegasus Frontend's issue 442.
  • ds4-lightbar: Command line utility for easily controlling the DualShock 4 light bar, and install udev rules to be able to do so as a regular user.
  • focus-launch: Are you on a desktop environment without a dock? You can replicate that functionality with keyboard shortcuts and regular panel launchers with this script.
  • music-watch: Output currently playing music info from MPRIS-enabled players using playerctl, so that it can be picked up by Conky, OBS Studio, and others.
  • obsctl: A more convenient interface for using obs-cli.
  • termmie: maek yur trminals... temmie!!! yayA!!!!
  • vino: A command-line manager for Wine prefixes and Wine versions, an alternative to various GUI tools. It explicitly goes out of its way to avoid reinventing wheels, and offers integration for Winetricks and DXVK's installer. It has features for isolating prefixes from the host system and integration for scripting and manual file management.
  • wait-for-it: Block until (dis)appearance of process, network, window, dbus interface, or an arbitrary amount of time, and optionally execute a command.

About

My configs and scripts. Public domain, do whatever.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published