Skip to content

Instantly share code, notes, and snippets.

View pivaldi's full-sized avatar

Philippe Ivaldi pivaldi

View GitHub Profile
@pivaldi
pivaldi / capture.el
Created August 17, 2024 20:59 — forked from hlissner/capture.el
Examples of Doom CLI scripts
#!/usr/bin/env doomscript
;; An example script showing off how use Doom's CLI framework to write your own.
(defcli! (capture)
((key ("-k" "--key" key))
&input input &args args)
"Open an org-capture window."
(exit! "emacsclient" "-a" "" "-e"
(format "(+org-capture/open-frame %S %S)"
(concat input (string-join args " "))
@pivaldi
pivaldi / 50-marblemouse.conf
Last active January 1, 2023 12:01 — forked from weakish/50-marblemouse.conf
Xorg Logitech Marble Trackball Config on Debian
# put this file under /usr/share/X11/xorg.conf.d/50-marblemouse.conf
# Large button left : normal click
# Both large buttons : middle click
# Large button right : right-click
# Small button left : browser back
# Small button left+ball : scroll (verticaly or horizontally)
# Small button right : browser forward