From 6ccc141b0605ffa2c554e86f4a3ed065913acb39 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Sat, 21 Oct 2023 16:37:49 +0200 Subject: [PATCH] vertical menu --- config.def.h | 2 +- config.h | 2 +- dmenu | Bin 47992 -> 48136 bytes dmenu.o | Bin 34088 -> 34088 bytes stest | Bin 21368 -> 21520 bytes 5 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 51612b9..9cbe517 100644 --- a/config.def.h +++ b/config.def.h @@ -15,7 +15,7 @@ static const char *colors[SchemeLast][2] = { [SchemeOut] = { "#000000", "#00ffff" }, }; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ -static unsigned int lines = 0; +static unsigned int lines = 10; /* * Characters not considered part of a word while deleting words diff --git a/config.h b/config.h index 51612b9..9cbe517 100644 --- a/config.h +++ b/config.h @@ -15,7 +15,7 @@ static const char *colors[SchemeLast][2] = { [SchemeOut] = { "#000000", "#00ffff" }, }; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ -static unsigned int lines = 0; +static unsigned int lines = 10; /* * Characters not considered part of a word while deleting words diff --git a/dmenu b/dmenu index a3067f18ed5db715e7f5111c8aa0e225e11d7260..9f350d4d23be371fafd30b8ea5746754ac9b540e 100755 GIT binary patch delta 3359 zcmb7H3vg7`89wLS_g?m$5EAm(AcPdihM;a9ND?BDFy+w<#bRXyl8s~mgCs$SRJIVT zS_BQJ9i-wEI>U5Kr%JLgnAlQ;I*1*#R;GeVD@;4$bD|yESliO?zjs5VV`thkbN~PQ zzyCY`Irp4<&)yyWt9WEsJW-tWNI$#YYFP#IvRYQeCiT?xSj+O<%(A`HdOo`E?~PpV^qP1f9F8TYSiTn?#FN(s7IKE5>puw{dl2_-g-`)S&&j= zPb++?{7K~&@oa-EsHzri4XG7XS=@g|J!1`(=NtU>rykYj*QXwuDTPSQkvY|W5yx*& z`D;Ei`Ku|>uqak|B7Of_`mRi`3-ok6BsXkbA8g2ULnF<$%1^h}@L^e&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|_W>F%p zD!FXeP$qY8Oy;LV>qv!2j0E^HF)$Lz92j{gR~_u=UEQ5TpBC}vXuCL+35dE()P3u3 zxFZvHPaQOy#X)!nup#I=ATGi?<#?w=!C2fg^*4FND^`xxx^uE@X^uEJ7I&X@ytCpW zyae7mx)P$`NZdX3!&#i^ID*e`x#$^>^L}w~yvg0Z%@!UKAC1S|`jfWzj3}9id-m_N zy+%o_ov3x6+iklE@$-qVi7_eQseIaIwlcBySF=Ro=(ONrhdS&OaJLvZTEW}J!J|!{ P6ZApAwT6q2M`!&9-$@by diff --git a/dmenu.o b/dmenu.o index bfde664e9e3e8a953b46d39164646eecf75e098e..4b57417d92956bfeeb25b595360884e4126c3ee1 100644 GIT binary patch delta 368 zcmZ3{#k8V}X~PA60WJmx21Y3U4+NVZ@bk$qGcz!3{-}MOd2)n-z~meH4U=C0=?sGg zMxMCxSKGcirn!0z{~i1^T}|3#>o>RIVLMa7I6Flc>o9|&xm{iRt}hMwZDpliV4ZCo3lR1Idla@f;ANfQCt=ynu5ybEF>O j273bL&mMkMPr$@Ce<*N44Ux?bMIL;NJexZk=Cc3*A<0{Q diff --git a/stest b/stest index 40e4b4cc87db164b369375c4250d5e5c7a530920..c99534e07ce89d53a966c39a992d0fd671dd51e7 100755 GIT binary patch delta 3142 zcmb7GeQZ`&9X{uN-}km}-;Y9D=(l{-Vc)myupgB27B+^IZm!@Ga75Pjt+k^oqb;S~ z)OTcw#*bw!N29nV!XFrhx`9<08nxR@5Y04m#;tC|vBXH6TdE0JLF0U$dvED5Gtrxz z-|zW7zvukUx#ymH?p^qnoIE8bYld%EF4lj! z=Xbv)`p4A%nNRE4yzj+!msib(_06zXu@!*OiFq}VIuO6&1gssZ7Sy#=MxIhF=?XbE zvnSmu&4yG%s!pA+Ycrc5a@1LEnVPS&%zRW1qPluZ-ldxAGxDH1T;Gzr6*^N$zqCK; zN0LGLYPuC@RLDoP4BS%gx421ms{$K+0j7+y(`b9qbm@FigVXFk(HVAv&aw09r1fPu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