X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.urxvt%2Ffont;h=a90d223acb21d84d11f54907e38d1a0352f16864;hb=3eb908d588d1c1cd6bb5abd1886b9bec4fab701f;hp=1796a45b0cbd2113fa33970d48251d9137035672;hpb=212a9a6fa92630c7ff33a97cbe29cf602b73fdff;p=profile.git diff --git a/.urxvt/font b/.urxvt/font index 1796a45..a90d223 100644 --- a/.urxvt/font +++ b/.urxvt/font @@ -20,6 +20,7 @@ sub on_user_command { if ($cmd =~ /:bigger/) { $adjusted++ } elsif ($cmd =~ /:smaller/) { $adjusted-- } + $adjusted = 1 if $adjusted < 1; $font =~ s/:pixelsize=$size/:pixelsize=$adjusted/; }