Skip to content

Instantly share code, notes, and snippets.

View LGUG2Z's full-sized avatar

جاد LGUG2Z

View GitHub Profile
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "KomobarConfig",
"description": "The `komorebi.bar.json` configuration file reference for `v0.1.31`",
"type": "object",
"required": [
"left_widgets",
"monitor",
"right_widgets"
],
@LGUG2Z
LGUG2Z / testschema.json
Created September 9, 2024 00:52
testschema.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "KomobarConfig",
"type": "object",
"required": [
"left_widgets",
"monitor",
"right_widgets",
"theme",
"viewport"
@LGUG2Z
LGUG2Z / minimal.clj
Last active June 5, 2024 01:14
My minimal kanata config
;; file name should be minimal.kbd
;; the .clj ext in the gist is only used to get lisp syntax highlighting
(defcfg)
(defsrc
;; mods
esc tab caps lsft lctl lalt lmet spc rsft
;; numbers
1 2 3 4 5 6 7 8 9 0
@LGUG2Z
LGUG2Z / cargo.toml
Last active August 15, 2024 07:59
winevent-tracker
[package]
name = "winevent-tracker"
version = "0.1.0"
edition = "2021"
[dependencies]
clearscreen = "3"
windows = { version = "0.54", features = [
"Win32_Foundation",
"Win32_System_Threading",
@LGUG2Z
LGUG2Z / .ideavimrc
Created November 30, 2023 18:04
My ideavimrc
" Map the leader key to space
let mapleader = " "
set clipboard=unnamed " Use system clipboard
set display+=lastline " Always try to show a paragraphΓÇÖs last line
set formatoptions+=j " Delete comment character when joining commented lines
set gdefault " Replace all instances on a line when using :s/regex/replacement
set history=1000 " Remember more commands and search history
set ignorecase " Case-insensitive search
set incsearch "Show matches as search proceeds
@LGUG2Z
LGUG2Z / vfio.nix
Created March 5, 2023 23:19
My VFIO setup for a Windows 11 VM in NixOS on a Ryzen 3700x with an Nvidia 3070ti passed through to the VM
let
iommuIds = [
"10de:2482" # 3070 Ti Graphics
"10de:228b" # 3070 Ti Audio
];
in
{
pkgs,
lib,
config,

Keybase proof

I hereby claim:

  • I am lgug2z on github.
  • I am jiqb (https://keybase.io/jiqb) on keybase.
  • I have a public key ASD5PCxVXZ1tBEvJPDist0-kp_j-7-0Ua4pz2-y2trT2cQo

To claim this, I am signing this object: