Skip to content

kamysheblid/xft-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xft-fix

Description

The 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.

(load-module "xft-fix")
(xft-fix:start-loop)

If you want to change the repeat timing simply change *clear-font-repeat* and then execute the start-loop again.

(setq xft-fix:*clear-font-repeat* 20)
(xft-fix:start-loop)

You can also insert a delay for the timer using *clear-font-delay*.

(setq xft-fix:*clear-font-delay* 5)
(xft-fix:start-loop)

License

GPLv3

About

stumpwm xft module fix for clearing cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published