No description
Find a file
2024-02-23 11:32:21 +01:00
.gitignore Add files to .gitignore 2024-02-07 13:22:34 +01:00
ansible-encrypt Add ansible-encrypt 2024-02-23 11:32:21 +01:00
ansible-json Add ansible-json 2024-02-23 11:32:21 +01:00
bb.edn JSON to YAML converter 2022-10-25 20:37:00 +02:00
idle-dimmer Add idle-dimmer 2023-02-26 19:16:36 +01:00
jaml.clj JSON to YAML converter 2022-10-25 20:37:00 +02:00
LICENSE Add README, LICENSE 2024-02-23 11:32:21 +01:00
README.org Add README, LICENSE 2024-02-23 11:32:21 +01:00
toggle_theme Change emacs light theme 2024-02-23 11:32:21 +01:00
Xephyr-xclip Add Xephyr-xclip 2024-02-23 11:32:21 +01:00

playground

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=.