No description
Find a file
2025-04-28 10:15:15 +02:00
.gitignore Add files to .gitignore 2024-02-07 13:22:34 +01:00
_kubectl_config_merge Add _kubectl_config_merge for merging kube configs 2024-07-03 09:05:45 +02: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
colorpicker [colorpicker] add colorpicker 2024-12-02 11:43:12 +01:00
idle-dimmer Add idle-dimmer 2023-02-26 19:16:36 +01:00
jaml.clj Fix ns in jaml 2024-02-23 11:32:21 +01:00
LICENSE Add README, LICENSE 2024-02-23 11:32:21 +01:00
platform_profile [platform_profile] remove debugging 2025-04-28 10:14:17 +02:00
README.org Add README, LICENSE 2024-02-23 11:32:21 +01:00
toggle_displays.clj add ymmw, toggle_displays.clj 2025-04-28 10:15:15 +02:00
toggle_headset Output emojis matching sound card profile 2024-02-23 11:45:12 +01:00
toggle_theme [toggle_theme] change theme preference 2025-04-28 10:14:34 +02:00
Xephyr-xclip Add Xephyr-xclip 2024-02-23 11:32:21 +01:00
ymmw add ymmw, toggle_displays.clj 2025-04-28 10:15:15 +02: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=.