MENYOKI.CONF(5)
π MENYOKI.CONF(5) π
okay so bestie, welcome to the menyoki manual β this page is MENYOKI.CONF(5), and it's literally all about the config file. no cap, it's the glow-up your command line never knew it needed β¨
π¦ SYNOPSIS
menyoki will look for your config in these places, in this order-ish vibe:
$MENYOKI_CONFIG
$HOME/.config/menyoki.conf
$HOME/.config/menyoki/menyoki.conf
$HOME/.config/menyoki/config
πΈ DESCRIPTION
so here's the tea: you can override the default command line arguments with a configuration file. yup, your fave flags but pre-loaded. you can point at it with the --config option, or with the $MENYOKI_CONFIG environment variable. OR β and this is the lowkey best part β you can just drop it in a location where menyoki already looks by default (see SYNOPSIS above, she's right there π
).
β¨ GENERAL β¨
these options live in the [general] section. the main characters of the whole file, honestly.
verboseβ increase logging verbosity. she's chatty, she's telling you everything π£οΈquietβ do not show output. silent treatment, but make it intentional π€«color <HEX>β set the main color. [default:3AA431]
π RECORD π
options that belong to the [record] section. screen recording era π
rootβ record the root windowfocusβ record the focused windowselectβ select the window to recordparentβ record the parent of the windowwith-alphaβ record with the alpha channelno-keysβ disable the action keys while recordingmouseβ select the window with mouse clickaction-keys <KEYS>β set the action keys [default:LAlt-S,LAlt-Enter]cancel-keys <KEYS>β set the cancel keys [default:LControl-D,Escape]border <BORDER>β set the border width [default:1]padding <T:R:B:L>β set the record area paddingsize <WxH>β set the record area sizeduration <S>β set the duration for recording [default:β]countdown <S>β set the countdown before recording [default:3]timeout <S>β set the timeout for window selection [default:300]interval <MS>β set the refresh interval for window selection [default:10]font <FONT>β set the font to use for window selectionmonitor <NUM>β set the monitor to record as root windowcommandβ set the command to run
π§ SPLIT π§
options that belong to the [split] section. breaking an animation into frames, we love a decomposition moment βοΈ
dir <DIRECTORY>β set the output directoryfileβ set the animation file
π₯ MAKE π₯
options that belong to the [make] section. frames go in, animation comes out π
no-sortβ use frames in the order givenfps <FPS>β set the FPS [default:20]quality <QUALITY>β set the frame quality (1-100) [default:75]repeat <REPEAT>β set the number of repetitions [default:β]dir <DIRECTORY>β set the directory to read framesformat <FORMAT>β set the animation format [default:gif] [possible values:gif,apng]
π CAPTURE π
options that belong to the [capture] section. screenshots but make it fashion πΈ
rootβ capture the root windowfocusβ capture the focused windowselectβ select the window to captureparentβ capture the parent of the windowwith-alphaβ capture with the alpha channelmouseβ select the window with mouse clickaction-keys <KEYS>β set the action keys [default:LAlt-S,LAlt-Enter]cancel-keys <KEYS>β set the cancel keys [default:LControl-D,Escape]border <BORDER>β set the border width [default:1]padding <T:R:B:L>β set the capture area paddingsize <WxH>β set the capture area sizecountdown <S>β set the countdown before capturing [default:0]timeout <S>β set the timeout for window selection [default:300]interval <MS>β set the refresh interval for window selection [default:10]font <FONT>β set the font to use for window selectionmonitor <NUM>β set the monitor to capture as root windowcommandβ set the command to run
π EDIT π
options that belong to the [edit] section. this is the makeover montage section of the manpage, honestly π
convertβ convert image using the given encodergrayscaleβ convert image to grayscaleinvertβ invert the colors of the imagecrop <T:R:B:L>β apply padding to crop the imageresize <WxH>β resize the image without keeping the aspect ratioratio <RATIO>β resize the image proportionally by aspect ratio [default:1.0]rotate <ROTATE>β rotate the image (clockwise) [possible values:90,180,270]flip <FLIP>β flip the image [possible values:horizontal,vertical]blur <SIGMA>β blur the image [default:0.0]hue <HUE>β adjust the hue of the image [default:Β±0]contrast <CONTRAST>β adjust the contrast of the image [default:Β±0.0]brightness <BRIGHTNESS>β adjust the brightness of the image [default:Β±0]filter <FILTER>β set the sampling filter for scaling [default:lanczos3] [possible values:nearest,triangle,catmull-rom,gaussian,lanczos3]fileβ set the input file
π ANALYZE π
options that belong to the [analyze] section. detective mode activated π
timestampβ use Unix timestamp for report datestime-zone <TIMEZONE>β set the time zone of the report [default:utc] [possible values:utc,local]fileβ set the image file
β VIEW β
options that belong to the [view] section. just you and the image, having a moment π
transparentβ display transparent image with transparent backgroundfileβ set the image file
π«Ά SAVE π«Ά
options that belong to the [save] section. naming files is an art form, iykyk π¨
with-extensionβ always save the file with an extensiontimestampβ add Unix timestamp to the file namedate <FORMAT>β add formatted date/time to the file name [default:%Y%m%dT%H%M%S]fileβ set the output file
π¬ GIF π¬
options that belong to the [gif] section.
gifskiβ use the gifski encoderfastβ encode 3 times faster (gifski)fps <FPS>β set the FPS [default:20]quality <QUALITY>β set the frame quality (1-100) [default:75]repeat <REPEAT>β set the number of repetitions [default:β]speed <SPEED>β set the animation speed [default:1.0]cut-beginning <S>β cut the beginning of the animation [default:0.0]cut-end <S>β cut the end of the anim [default:0.0]
π¦ APNG π¦
options that belong to the [apng] section.
fps <FPS>β set the FPS [default:20]repeat <REPEAT>β set the number of repetitions [default:β]speed <SPEED>β set the animation speed [default:1.0]cut-beginning <S>β cut the beginning of the animation [default:0.0]cut-end <S>β cut the end of the anim [default:0.0]
π PNG π
options that belong to the [png] section.
compression <COMPRESSION>β set the compression level [default:fast] [possible values:default,fast,best]filter <FILTER>β set the filter algorithm [default:sub] [possible values:none,sub,up,avg,paeth]
πΈ JPG πΈ
options that belong to the [jpg] section.
quality <QUALITY>β set the image quality (1-100) [default:90]
π¦ WEBP π¦
options that belong to the [webp] section.
quality <QUALITY>β set the lossy encoding quality (1-100) [default:80]losslessβ use lossless encoding
π PNM π
options that belong to the [pnm] section.
format <FORMAT>β set the PNM format [default:pixmap] [possible values:bitmap,graymap,pixmap,arbitrary]encoding <ENCODING>β set the encoding for storing the samples [default:binary] [possible values:binary,ascii]
π ENVIRONMENT π
okay bestie this part is so useful. corresponding environment variables can be set for overriding the command line flags and options. the general prototype of the variables that menyoki checks is literally this:
MENYOKI_{SECTION}_{ARGUMENT}=value
plus β bonus round β MENYOKI_WINDOW_SYSTEM can be set to x11 or wayland for overriding the window system that is otherwise detected from the presence of WAYLAND_DISPLAY. yes, she detects it herself, but you can boss her around too π
π Examples
the original put these in a table; we're doing a list because tables are not the vibe here. every command β env var pair, exactly as she wrote it:
menyoki --quietβMENYOKI_GENERAL_QUIET=truemenyoki record gif --fps 10 save --timestampβMENYOKI_GIF_FPS=10andMENYOKI_SAVE_TIMESTAMP=truemenyoki capture --size 200x300 jpg --quality 100βMENYOKI_CAPTURE_SIZE=200x300andMENYOKI_JPG_QUALITY=100menyoki edit test.png --ratio 2.0 --filter triangleβMENYOKI_EDIT_RATIO=2.0andMENYOKI_EDIT_FILTER=trianglemenyoki split test.gif --dir frames/ pnm --format graymapβMENYOKI_SPLIT_DIR=frames/andMENYOKI_PNM_FORMAT=graymapmenyoki analyze test.png --timestamp save --date %H%M%SβMENYOKI_ANALYZE_TIMESTAMP=trueandMENYOKI_SAVE_DATE=%H%M%Smenyoki view test.png --transparentβMENYOKI_VIEW_TRANSPARENT=true
π«Ά AUTHOR π«Ά
written by Orhun ParmaksΔ±z <orhunparmaksiz@gmail.com> β king behavior, honestly π
π REPORTING BUGS
contact the author via email, or use GitHub Issues for reporting bugs: <https://github.com/orhun/menyoki/issues/> β please be nice, bug reports are a love language π
βοΈ COPYRIGHT
Copyright Β© 2020-2024 Orhun ParmaksΔ±z
licensed under GPLv3: <https://gnu.org/licenses/gpl.html>
π SEE ALSO
menyoki(1)- see the project homepage at <https://github.com/orhun/menyoki> for full documentation β¨
and that's the whole page, bestie π this was menyoki 1.7.0, dated March 2023 β go forth and configurate π
π¦ where this page comes from
- arch rolling: menyoki 1.8.0-1 Β· GPL-3.0-only
- nixpkgs unstable: menyoki 1.8.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms