Skip to content

Instantly share code, notes, and snippets.

@themattchan
themattchan / cursor.md
Created November 18, 2018 05:24
nixos: fix cursor size

Fix cursor size in nixos/linux

  1. Set your XCURSOR_SIZE to 32 (or desired size) in either your /etc/nixos/configuration.nix
environment.variables.XCURSOR_SIZE = "32";

or ~/.Xresources:

@Iceland_jack: https://twitter.com/Iceland_jack/status/1130243968820830208
< begin :: ([a] -> res) -> res
< begin k = k []
< push :: [a] -> a -> ([a] -> res) -> res
< push as a k = k (a : as)
< add :: Num a => [a] -> ([a] -> res) -> res
< add (a:b:rest) k = k (b+a:rest)