Skip to content

Instantly share code, notes, and snippets.

@Provessor
Provessor / gtk-example.lisp
Created December 17, 2020 05:23
Simple cl-cffi-gtk example.
(asdf:load-system :cl-cffi-gtk)
(defpackage :gtk-example
(:use :gtk :gdk :gdk-pixbuf :gobject :glib :gio :pango :cairo
:common-lisp))
(in-package :gtk-example)
;; The cl-cffi-gtk documentation and tutorial are both very good;
;; https://www.crategus.com/books/cl-cffi-gtk/
@Provessor
Provessor / cleaner
Last active October 15, 2020 15:20
Scripts used to get image previews used in lf with ueberzug
#!/usr/bin/env bash
>"${UEBERZUG_FIFO}" declare -A -p cmd=( \
[action]=remove [identifier]="$UEBERZUG_IDEN" )
@Provessor
Provessor / cleaner.sh
Last active November 10, 2022 02:00
Scripts used to get image previews used in lf
#!/usr/bin/env bash
kitty +kitten icat --transfer-mode file --clear