For now, org-babel-tangle
is working alright but auto-tangling on
save would be good
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use penrose::{ | |
builtin::{ | |
actions::{exit, log_current_state}, | |
layout::{ | |
messages::{ExpandMain, IncMain, ShrinkMain}, | |
transformers::{Gaps, ReserveTop}, | |
MainAndStack, Monocle, | |
}, | |
}, | |
core::{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# Arch User Repository (AUR) querying and package install without the need for | |
# a full blown binary that breaks with system upgrades. | |
# | |
# That said, zayoure is intended as a minimal helper script around searching, | |
# cloning and building aur packages. It does not support the full command set | |
# of pacman and it does not 'helpfully' do things on your behalf. It IS verbose | |
# in explaining why it failed so read the output, read the source and try not | |
# to brick your system ;) | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! This is a little exploration of (ab)using async/await syntax + a dummy Waker to simplify | |
//! writing sans-io state machine code. | |
use std::{ | |
cell::UnsafeCell, | |
future::Future, | |
io::{self, Cursor, ErrorKind, Read}, | |
pin::{pin, Pin}, | |
sync::Arc, | |
task::{Context, Poll, Wake, Waker}, | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A quick and dirty tool for warping the mouse cursor between screens on OSX. | |
use core_graphics::{ | |
display::{CGDisplay, CGPoint, CGRect}, | |
event::{CGEvent, CGEventTapLocation, CGEventType, CGMouseButton}, | |
event_source::{CGEventSource, CGEventSourceStateID}, | |
}; | |
use std::{env, process::exit}; | |
const KNOWN_ARGS: [&str; 4] = ["--back", "--no-click", "-h", "--help"]; |
OlderNewer