https://github.com/runejuhl/playground
Small scripts and stuff
https://github.com/runejuhl/playground
Last synced: 3 months ago
JSON representation
Small scripts and stuff
- Host: GitHub
- URL: https://github.com/runejuhl/playground
- Owner: runejuhl
- License: agpl-3.0
- Created: 2022-10-26T08:30:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T10:45:27.000Z (about 1 year ago)
- Last Synced: 2025-02-28T17:08:40.626Z (3 months ago)
- Language: Clojure
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+title: playground
#+author: Rune Juhl JacobsenA 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=.