dzen-dhall-1.0.2: Configure dzen2 bars in Dhall language
DzenDhall.Animation.Marquee
run :: Int -> Marquee -> AST -> Int -> AST Source #
calculatePxShift Source #
Arguments
Number of current frame
Character width
How many frames per character?
Shift in pixels
Calculate shift in pixels.
addPxShift Source #
Add sub-character shift to the AST and compensate it