Skip to content

Instantly share code, notes, and snippets.

From b7e972c3dfeeb0b29ec7b95589187257c4804791 Mon Sep 17 00:00:00 2001
From: Luuk van Baal <luukvbaal@gmail.com>
Date: Wed, 8 Apr 2020 18:09:04 +0200
Subject: [PATCH] limit keypresses
---
dwm.c | 56 ++++++++++++++++++++++++++++++++++----------------------
1 file changed, 34 insertions(+), 22 deletions(-)
diff --git a/dwm.c b/dwm.c
@luukvbaal
luukvbaal / cacheremove.hook
Last active June 23, 2024 15:17
yay paccache hooks
[Trigger]
Operation = Remove
Type = Package
Target = *
[Action]
Description = Clearing cache...
When = PostTransaction
Exec = /home/<user>/.local/bin/tools/removehook
Section "Device"
Identifier "ODROID"
Driver "armsoc"
Option "Debug" "false"
Option "DPMS" "false"
Option "NoFlip" "false"
Option "NoHardwareMouse" "true"
Option "NoG2D" "false"
EndSection
[ 32.883]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 32.883] Build Operating System: Linux Arch Linux
[ 32.883] Current Operating System: Linux APPLEDROID 4.14.94-1-ARCH #1 SMP PREEMPT Thu Jan 24 01:44:17 UTC 2019 armv7l
[ 32.884] Kernel command line: console=tty1 console=ttySAC2,115200n8 root=PARTUUID=b048ec1c-01 rw rootwait smsc95xx.macaddr= s5p_mfc.mem=16M
[ 32.884] Build Date: 27 October 2018 04:53:30PM
[ 32.884]
[ 32.884] Current version of pixman: 0.36.0
[ 32.885] Before reporting problems, check http://wiki.x.org
[ 182.387]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 182.399] Build Operating System: Linux Arch Linux
[ 182.403] Current Operating System: Linux APPLEDROID 4.14.94-1-ARCH #1 SMP PREEMPT Thu Jan 24 01:44:17 UTC 2019 armv7l
[ 182.403] Kernel command line: console=tty1 console=ttySAC2,115200n8 root=PARTUUID=b048ec1c-01 rw rootwait smsc95xx.macaddr= s5p_mfc.mem=16M
[ 182.415] Build Date: 27 October 2018 04:53:30PM
[ 182.419]
[ 182.423] Current version of pixman: 0.36.0
[ 182.431] Before reporting problems, check http://wiki.x.org
set classify=' ::../::, ::*.7z::, ::*.ai::, ::*.apk::, ::*.avi::, ::*.bat::, ::*.bmp::, ::*.bz2::, ::*.c::, ::*.c++::, ::*.cab::, ::*.cbr::, ::*.cbz::, ::*.cc::, ::*.clj::, ::*.cljc::, ::*.cljs::, ::*.coffee::, ::*.conf::, ::*.cp::, ::*.cpio::, ::*.cpp::, ::*.css::, ::*.cxx::, ::*.d::, ::*.dart::, ::*.db::, ::*.deb::, ::*.diff::, ::*.dump::, ::*.edn::, ::*.ejs::, ::*.epub::, ::*.erl::, ::*.exe::, ::*.f#::, ::*.fish::, ::*.flac::, ::*.flv::, ::*.fs::, ::*.fsi::, ::*.fsscript::, ::*.fsx::, ::*.gem::, ::*.gif::, ::*.go::, ::*.gz::, ::*.gzip::, ::*.hbs::, ::*.hrl::, ::*.hs::, ::*.htm::, ::*.html::, ::*.ico::, ::*.ini::, ::*.java::, ::*.jl::, ::*.jpeg::, ::*.jpg::, ::*.js::, ::*.json::, ::*.jsx::, ::*.less::, ::*.lha::, ::*.lhs::, ::*.log::, ::*.lua::, ::*.lzh::, ::*.lzma::, ::*.markdown::, ::*.md::, ::*.mkv::,λ ::*.ml::,λ ::*.mli::, ::*.mov::, ::*.mp3::, ::*.mp4::, ::*.mpeg::, ::*.mpg::, ::*.mustache::, ::*.ogg::, ::*.pdf::, ::*.php: