Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamysheblid/xft-fix
stumpwm xft module fix for clearing cache
https://github.com/kamysheblid/xft-fix
Last synced: 3 months ago
JSON representation
stumpwm xft module fix for clearing cache
- Host: GitHub
- URL: https://github.com/kamysheblid/xft-fix
- Owner: kamysheblid
- Created: 2023-02-08T13:35:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-02-08T14:19:39.000Z (over 1 year ago)
- Last Synced: 2024-06-12T00:10:50.875Z (5 months ago)
- Language: Common Lisp
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
- awesome-stumpwm - xft-fix - stumpwm xft module fix for clearing cache (Modules)
README
* xft-fix
** DescriptionThe xft module for stumpwm is broken because it doesnt clear the
cache. This is a fix that creates a timer that will clear that cache
so it doesnt take up all the memory.** Usage
Simply place into the modules directory, =load-module= it, then run
=start-loop=. It will clear the cache every 10 minutes.
#+BEGIN_SRC lisp
(load-module "xft-fix")
(xft-fix:start-loop)
#+END_SRCIf you want to change the repeat timing simply change
=*clear-font-repeat*= and then execute the start-loop again.#+BEGIN_SRC lisp
(setq xft-fix:*clear-font-repeat* 20)
(xft-fix:start-loop)
#+END_SRCYou can also insert a delay for the timer using =*clear-font-delay*=.
#+BEGIN_SRC lisp
(setq xft-fix:*clear-font-delay* 5)
(xft-fix:start-loop)
#+END_SRC** License
GPLv3