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:
I hereby claim:
To claim this, I am signing this object:
let | |
iommuIds = [ | |
"10de:2482" # 3070 Ti Graphics | |
"10de:228b" # 3070 Ti Audio | |
]; | |
in | |
{ | |
pkgs, | |
lib, | |
config, |
" 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 |
[package] | |
name = "winevent-tracker" | |
version = "0.1.0" | |
edition = "2021" | |
[dependencies] | |
clearscreen = "3" | |
windows = { version = "0.54", features = [ | |
"Win32_Foundation", | |
"Win32_System_Threading", |
;; 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 |
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "KomobarConfig", | |
"type": "object", | |
"required": [ | |
"left_widgets", | |
"monitor", | |
"right_widgets", | |
"theme", | |
"viewport" |
{ | |
"$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" | |
], |
Note
If you want to use Wayland in WSLg in a simpler setup, you can try the WSLg (Wayland) tutorial.
In this tutorial, we will setup GUI in WSL2. No additional software outside WSL (like VcXsrv or GWSL) is required. You will find this tutorial very similar to the one that replaces Xorg with Xvnc. Indeed, it's pretty much the same tutorial, with some few changes.
The key component we need to install is the desktop metapackage you want (GNOME, KDE, Xfce, Budgie, etc), and after that, replace the default Xorg by a script that calls Xwayland instead.
For this setup, I will use Ubuntu 24.04, and install GNOME Desktop. Unfortunately older versions of Ubuntu lack some fundamental things, so we cannot reproduce it in older versions (at least not fully). Since the key components aren't bound to Ubuntu or GNOME, you can use your favorite distro and GUI. Check the [Sample screenshot
# mousemaster will automatically convert the key aliases to your current keyboard layout. | |
# However, if you want to make a change to the key aliases, and your keyboard layout | |
# is not us-qwerty, then remove .us-qwerty | |
key-alias.enablebasekey.us-qwerty=e capslock | |
key-alias.exit.us-qwerty=q p capslock | |
key-alias.clickthendisable.us-qwerty=. | |
key-alias.up.us-qwerty=i | |
key-alias.down.us-qwerty=k | |
key-alias.left.us-qwerty=j | |
key-alias.right.us-qwerty=l |
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "StaticConfig", | |
"description": "The `komorebi.json` static configuration file reference for `v0.1.36`", | |
"type": "object", | |
"properties": { | |
"animation": { | |
"description": "Animations configuration options", | |
"type": "object", | |
"required": [ |