Skip to content

Instantly share code, notes, and snippets.

@Yappaholic
Yappaholic / 001-tablet.patch
Created August 26, 2025 07:12
Tablet patch for the Mangowc (DWL fork)
From a649365d12b236af9a096d37484cfc82168d28b2 Mon Sep 17 00:00:00 2001
From: Yappaholic <[email protected]>
Date: Tue, 26 Aug 2025 10:03:12 +0300
Subject: [PATCH] nothing
---
src/ext-protocol/all.h | 3 +-
src/ext-protocol/tablet.h | 220 ++++++++++++++++++++++++++++++++++++++
src/mango.c | 15 +++
3 files changed, 237 insertions(+), 1 deletion(-)
@Yappaholic
Yappaholic / log
Created July 4, 2025 12:23
Swayfx strace nvidia
This file has been truncated, but you can view the full file.
execve("/usr/bin/sway", ["sway", "--unsupported-gpu"], 0x7ffd029d7788 /* 53 vars */) = 0
brk(NULL) = 0x5602344be000
fcntl(0, F_GETFD) = 0
fcntl(1, F_GETFD) = 0
fcntl(2, F_GETFD) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb63db90000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=106382, ...}) = 0
mmap(NULL, 106382, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fb63db76000
@Yappaholic
Yappaholic / log
Created July 4, 2025 12:17
Swayfx strace
execve("/usr/bin/sway", ["sway"], 0x7ffdac877a20 /* 53 vars */) = 0
brk(NULL) = 0x55dbe2eba000
fcntl(0, F_GETFD) = 0
fcntl(1, F_GETFD) = 0
fcntl(2, F_GETFD) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f98d69fd000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=102734, ...}) = 0
mmap(NULL, 102734, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f98d69e3000
@Yappaholic
Yappaholic / colemak-dh-keycodes.patch
Created May 8, 2025 08:31
Patch for Colemak-dh-wide-iso keycodes in DWL
From 54b5d3413748c610fd5e5367ac6595faf09f079f Mon Sep 17 00:00:00 2001
From: Yappaholic <[email protected]>
Date: Thu, 8 May 2025 11:26:36 +0300
Subject: [PATCH] En-keycodes
---
dwl.c | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/dwl.c b/dwl.c
@Yappaholic
Yappaholic / dwlmsg.patch
Last active September 29, 2024 09:33
Dwlmsg patch for eww widgets in dwl window manager.
This is a dwlmsg patch for the dwl window manager.
Makes it possible to use Elkowar Wacky Widgets with dwlmsg.
The original patch is in the dwl Discord, big thanks to @.thecyberduck and @nothcoc.
Don't know why, but compiling after patch with clang and LTO throws linker error,
so build dwl without LTO support afterwards.
--- a/Makefile 2024-09-29 12:01:37.541046059 +0300
+++ b/Makefile 2024-09-29 12:13:24.312054194 +0300
@@ -16,14 +16,18 @@