Skip to content

Instantly share code, notes, and snippets.

@SomeMWDev
SomeMWDev / take-screenshot.sh
Created August 23, 2025 21:56
Flameshot Flatpak + Satty integration
#!/bin/bash
# -r: return raw so ew can pipe it to satty
# -s: accept capture immediately; so we use satty instead of flameshot for the UI
flatpak run org.flameshot.Flameshot gui -r -s | satty \
--early-exit \
--copy-command=wl-copy \
--filename - \
--output-filename ~/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png
/*
* Medžuviki transliterator
* Converts visible content into Latin or Cyrillic
*
* Borrows from: https://www.mediawiki.org/wiki/MediaWiki:Gadget-Numerakri.js
* @license <https://opensource.org/licenses/MIT>
*/
(function () {
// MediaWiki config options
var config = mw.config.get( [