Add README, LICENSE

This commit is contained in:
Rune Juhl (Atea) 2023-11-09 14:37:52 +01:00
parent e8aeb14e9c
commit 4be7318269
2 changed files with 685 additions and 0 deletions

24
README.org Normal file
View file

@ -0,0 +1,24 @@
#+title: playground
#+author: Rune Juhl Jacobsen
A collection of various small tools that usually live in =~/bin= or somewhere
else on =$PATH=.
* Descriptions
** =ansible-encrypt=
Encrypt =stdin= against an Ansible Vault. It traverses from the current
directory in search of an =ansible.cfg= file, which means that it can be used
from inside Emacs to encrypt strings, e.g. by marking a region and using =C-u
M-|= (~shell-command-on-region~) to pipe the region to =ansible-encrypt= and
automatically replace the region with the encrypted value.
** =ansible-json=
Extract JSON value from Ansible =stdout= output.
** =jaml.clj=
A Babashka script to convert JSON to YAML.
** =toggle_theme=
A Babashka script to toggle themes. Sets theme in GSettings and uses
~emacsclient~ to switch themes in any Emacs servers with sockets in
=XDG_RUNTIME_DIR=.
** =idle-dimmer=
An attempt at implementing a quick and dirty idle dimmer that lowers brightness when triggered by ~swayidle~.
** =Xephyr-xclip=
A wrapper around ~xclip~ to allow pasting through to an Xephyr session running on =DISPLAY\=:1=.