Dotfiles for my tiling window manager + terminal workflow.

5 lines
122 B

  1. function block-to-line
  2. set block_size 1024
  3. set bytes_per_line 16
  4. math "($block_size*$argv[1])/$bytes_per_line + 1"
  5. end