Commit Graph

248 Commits

Author SHA1 Message Date
Connor Lane Smith f1848a3ef0 detect active monitor using input focus 2011-09-19 18:15:03 +01:00
Connor Lane Smith b26d3f54ee add token matching 2011-09-19 10:40:56 +01:00
Connor Lane Smith 1636e12210 tweaks 2011-07-17 14:06:53 +01:00
Connor Lane Smith 2b92c95230 efficiency tweaks 2011-07-14 20:03:08 +01:00
Connor Lane Smith 5867c53390 simpler vline 2011-07-06 13:40:36 +01:00
Connor Lane Smith 34a816f87d rebind ^N ^P 2011-07-04 16:55:09 +01:00
Connor Lane Smith 723cbabc12 add ^M 2011-06-13 19:25:40 +01:00
Connor Lane Smith 2103ae2891 bugfix 2011-05-18 17:01:44 +01:00
Connor Lane Smith bb3e33def3 no -m, cleanup 2011-05-18 16:20:03 +01:00
Connor Lane Smith 3a60b19514 fix possible overflow 2011-05-16 23:35:14 +01:00
Connor Lane Smith dd2f298252 fixed extra warnings 2011-05-16 12:59:31 +01:00
Connor Lane Smith 11ea52d170 portability 2011-05-15 21:54:26 +01:00
Connor Lane Smith 4354074607 efficient incremental search 2011-05-15 16:05:32 +01:00
Connor Lane Smith 4776d6dc61 match first 2011-05-15 14:21:00 +01:00
Connor Lane Smith d0051e7bb8 faster grab 2011-05-15 14:13:31 +01:00
Connor Lane Smith fb67bd666e cleanup 2011-05-15 13:58:54 +01:00
Connor Lane Smith f5bd1eed8d fast but inexact 2011-05-15 13:02:33 +01:00
Connor Lane Smith d066975e78 cleanup 2011-05-14 22:43:42 +01:00
Connor Lane Smith 86468aafe5 instant ^E 2011-05-14 18:39:27 +01:00
Connor Lane Smith be9afce035 fix typo 2011-05-14 17:47:12 +01:00
Connor Lane Smith 3c067598fc use array for items 2011-05-14 17:46:20 +01:00
Connor Lane Smith 86019c5855 fixed xinerama corner case 2011-05-12 13:17:41 +01:00
Connor Lane Smith 0291c722fb fixed -m bug (thanks Rob) 2011-05-11 12:25:50 +01:00
Connor Lane Smith e0e6b071c6 fast grab patch (thanks Rob) 2011-05-08 15:15:24 +01:00
Connor Lane Smith cd3b4915c3 helpful errors 2011-05-06 21:13:02 +01:00
Connor Lane Smith 210b303941 paring 2011-05-05 15:46:48 +01:00
Connor Lane Smith 47e3e8be7b update license 2011-01-07 18:55:00 +00:00
Connor Lane Smith 8d9ade36de moved main, updated args 2010-11-17 04:33:34 +00:00
Connor Lane Smith eeba6221b1 rebound paste to ^Y 2010-11-12 00:00:32 +00:00
Connor Lane Smith a0a99d10e1 removed libdc dependence 2010-11-11 23:56:39 +00:00
Connor Lane Smith 7cf66b443a -m flag to fix dwm selmon bug 2010-11-02 12:15:15 +00:00
Connor Lane Smith 610a0a8d12 fixed linking bug (thanks Jacob Nixdorf) & iscntrl corner case 2010-09-13 14:22:02 +01:00
Connor Lane Smith f0818217b3 simplification 2010-09-11 19:48:10 +01:00
Connor Lane Smith 3c366bd73d update to libdc, fixed utf8 bug 2010-09-11 13:37:01 +01:00
Connor Lane Smith 75a19c35bd arrow offset 2010-08-20 19:57:13 +01:00
Connor Lane Smith a5f31f5707 fixed width bug 2010-08-20 19:42:58 +01:00
Connor Lane Smith b81c1e88cd rebound paste, removed useless max widths 2010-08-20 13:50:44 +01:00
Connor Lane Smith 5376113039 new libdraw 2010-08-19 16:43:39 +01:00
Connor Lane Smith c7a8f17bd2 new libdraw 2010-08-19 16:17:57 +01:00
Connor Lane Smith 128d4cf376 resorted globals 2010-08-18 17:35:23 +01:00
Connor Lane Smith e4fdaba88d signed ints, ignore negative -l value 2010-08-18 17:33:34 +01:00
Connor Lane Smith 849f1dd7a3 fixed insert segfault, added nextrune 2010-08-12 15:35:51 +01:00
Connor Lane Smith 402dc2bc95 fixed paste 2010-08-11 15:02:03 +01:00
Connor Lane Smith 00a60cb7b2 new libdraw, replaced cistrstr with fstrstr, simpler readstdin 2010-08-11 14:24:25 +01:00
Connor Lane Smith e149c531b8 more efficient initfont 2010-08-10 18:09:02 +01:00
Connor Lane Smith 605e9b6c03 reverted calcoffsets 2010-08-10 14:14:37 +01:00
Connor Lane Smith caf5246268 simplifications 2010-08-10 13:38:49 +01:00
Connor Lane Smith 93af72e116 cursor fix + style 2010-08-09 11:54:46 +01:00
Connor Lane Smith 0b8072a5a9 added ^D, removed ^M 2010-08-06 14:16:08 +01:00
Connor Lane Smith 31ffcd3b9a new libdraw, typo fixes 2010-08-05 15:41:56 +01:00
Connor Lane Smith 9cf07b4b9b another typo fix (thanks, Gene Auyeung) 2010-08-03 18:19:59 +01:00
Connor Lane Smith 7a2782d02d typo fix 2010-08-03 17:29:53 +01:00
Connor Lane Smith 1c91c2a99c cleaned up 2010-08-03 17:18:24 +01:00
Connor Lane Smith b7695fa98c merged *{h,v} functions 2010-08-03 17:10:29 +01:00
Connor Lane Smith b54c179d58 retyped promptw 2010-08-02 15:13:33 +01:00
Connor Lane Smith 06c18808b6 replaced promptw 2010-08-02 14:49:14 +01:00
Connor Lane Smith a7aee433cc fixed bugs, no more config.h, updated manpage, new libdraw 2010-08-02 14:22:54 +01:00
Connor Lane Smith a3606ecb0e updated manpage, added paste, cleaned up, new libdraw 2010-07-31 14:56:27 +01:00
Connor Lane Smith 7d5fe17391 merged dmenu & dinput (clunky interface) 2010-07-30 13:40:56 +01:00
Connor Lane Smith 7f36736d11 underline match 2010-07-30 10:26:12 +01:00
Connor Lane Smith 115c01b74e new libdraw 2010-07-30 10:25:55 +01:00
Connor Lane Smith d77340ed53 fixed vlist select 2010-07-30 09:18:35 +01:00
Connor Lane Smith da7a799121 updated to libdraw tip 2010-07-27 13:40:32 +01:00
Connor Lane Smith 855a566319 added dmenu.h, common.c 2010-07-02 06:49:05 +01:00
Connor Lane Smith 29e8faed6c updated to new libdraw 2010-07-02 05:50:19 +01:00
Connor Lane Smith d9c24564d2 atexit cleanup 2010-07-02 03:44:01 +01:00
Connor Lane Smith 6ba5103df4 removed -e flag (too buggy), cleaned up 2010-06-30 22:42:15 +01:00
Connor Lane Smith 309d071df5 fixed no-input invisible text bug 2010-06-30 10:45:24 +01:00
Connor Lane Smith 26b9f3de0f libdraw now has own repo 2010-06-30 01:36:15 +01:00
Connor Lane Smith 7afd296c40 resizing vlist, new dinput binding 2010-06-30 00:52:14 +01:00
Connor Lane Smith cc8b3b999b cleaned up 2010-06-30 00:05:32 +01:00
Connor Lane Smith 340b176de6 dinput with dmenu flags, fixed usage & -v, cosmetics 2010-06-29 16:07:31 +01:00
Connor Lane Smith 18dcf73896 extended libdraw 2010-06-28 06:09:34 +01:00
Connor Lane Smith 9f3b0c6ea8 cleaned up 2010-06-25 04:33:41 +01:00
Connor Lane Smith 723361fa12 removed colors from dc 2010-06-24 16:24:04 +01:00
Connor Lane Smith 96c65400cc decoupled draw.c from dmenu & dinput 2010-06-24 16:18:18 +01:00
Connor Lane Smith 6c1d0e4d60 fixed offsets, updated eprint, cleaned up 2010-06-24 14:22:34 +01:00
Connor Lane Smith 2ec16d9cb2 cleaned up 2010-06-23 13:49:24 +01:00
Connor Lane Smith 146bc23c11 cleaned up 2010-06-23 13:31:11 +01:00
Connor Lane Smith 595e797660 added draw.h 2010-06-23 13:29:15 +01:00
Connor Lane Smith bba30e2686 overlapping code 2010-06-23 12:42:08 +01:00
Connor Lane Smith b4e63454e5 initial dmenu / dinput separation 2010-06-23 12:04:54 +01:00
Connor Lane Smith bff1526d31 fixed vlist cursor 2010-06-22 10:45:07 +01:00
Connor Lane Smith 9a33a72c6a updated manpage, changed keybinds
M- binds tend to be wm level, and there were up to 3 binds for the same action
M-{hjkl} also no longer made sense in vlist mode
2010-06-20 15:04:15 +01:00
Connor Lane Smith 97797d90a6 cleaned up 2010-06-20 01:19:17 +01:00
Connor Lane Smith 4983707c70 added ^K, optimisations 2010-06-20 00:44:26 +01:00
Connor Lane Smith b27ffbd78b cleaned up 2010-06-16 15:36:17 +01:00
Connor Lane Smith 6366f94e36 fixed vlist paging, cleaned up 2010-06-11 09:24:33 +01:00
Anselm R Garbe 504b797be8 applied Ramils patch 2010-05-29 12:55:38 +01:00
Anselm R Garbe 8623bf5d19 prepared dmenu-4.1 release 2010-05-28 11:42:49 +01:00
Connor Lane Smith 5bc288b2b1 fixed vlist alignment 2010-05-05 11:42:39 +01:00
Connor Lane Smith a6835349df cleaning up 2010-05-02 23:17:02 +01:00
Connor Lane Smith 518c9b72d1 fixed bad parenting, simpler vlist 2010-04-14 17:35:19 +00:00
Connor Lane Smith 09db46f54f fixed ^U cursor support 2010-04-13 20:14:45 +00:00
Connor Lane Smith e3623cd7f2 fixed 3 bugs and some inconsistency 2010-04-07 16:15:34 +00:00
Anselm R Garbe 0ba3bae981 applied Troels' patch, thanks Troels! 2010-04-01 21:40:11 +01:00
Anselm R Garbe 3472085f59 commited Connor's sanity patch 2010-04-01 21:31:09 +01:00
pancake 7ffe519816 apply nibble patch removing per-item length limit 2010-04-01 19:30:21 +02:00
pancake 29686bd1b8 add ^a and ^e keybindings 2010-04-01 19:10:41 +02:00
Anselm R Garbe 052ffae192 applied Connor's subwindow patch 2010-03-31 22:43:49 +01:00
Anselm R Garbe eededaa76f applied Connor's next nice patch, thanks a lot! 2010-03-31 22:37:41 +01:00
anselm@garbe.us 8e3e61170b applied cls' patch, thanks Connor! 2010-03-22 07:50:26 +00:00
Anselm R Garbe 37236f8840 applied Connor's patch, thanks! 2010-03-07 08:32:16 +00:00
Anselm R Garbe 7082ba1e10 this is only a temporary workaround, the command executed by -p must be configurable through some switch, that was the initial idea, just using sselp is too limited, I'll look into the other issues soon 2009-12-05 16:52:53 +00:00
Anselm R Garbe 569a1f925a applied cursor, vertical and paste patches for upcoming 4.1 dmenu version (due to the fact that surf is using dmenu as well) 2009-11-28 12:28:15 +00:00
Anselm R Garbe a1ad9c2a1c applied Matthias Christian Ott's sanity fixes (thanks a lot!) 2009-02-21 19:21:54 +00:00
a@null 4e74263ba0 minor modification 2008-12-09 21:55:47 +00:00
Anselm R Garbe ef00902fd9 simplified initfont 2008-08-29 10:09:40 +01:00
Anselm R Garbe 3e60c5d836 reverted setlocale() call 2008-08-25 09:38:19 +01:00
Anselm R Garbe c24f22a36b removed artifact from wmii menu 2008-08-23 09:33:56 +01:00
Anselm R Garbe 44e372bb31 fixed a problem when backporting dwm's drawtext() 2008-08-18 19:24:29 +01:00
Anselm R Garbe 17232f493b abc... 2008-08-18 10:20:53 +01:00
Anselm R Garbe b95e61c9b7 removed the i = textnw... as remarked by Martin Hurton 2008-08-18 10:17:15 +01:00
Anselm R Garbe cf7e4c15a9 backported drawtext() simplifications to dmenu 2008-08-18 10:03:28 +01:00
Anselm R Garbe c43c692a4d getting rid of setlocale(), it doesn't seem to make sense with Xmb, artifact of Xutf8 times 2008-08-18 09:31:01 +01:00
Anselm R Garbe 698ec259af similiar change as in dwm 2008-07-18 20:20:19 +01:00
Anselm R Garbe 88efbf3dd1 removed compiler warning if XINERAMA is disabled 2008-07-17 17:40:42 +01:00
Anselm R Garbe 4d8a646958 got rid of compile time xidx, grabbing the mouse pointer instead, falling back to screen 0 if no pointer available 2008-07-16 18:38:53 +01:00
Anselm R Garbe b89a9501c7 reverted uint/ulong introduction 2008-07-16 18:18:38 +01:00
Anselm R Garbe 65d655b371 minor update regarding locale support 2008-06-30 10:00:00 +01:00
Anselm R Garbe 2cef0ddb01 removed emalloc, used only once so obsolete 2008-06-21 16:43:12 +01:00
Anselm R Garbe 3f244b1d52 minor fix 2008-06-19 09:18:17 +01:00
Anselm R Garbe d2305e4b13 reusing config.h's color values, note we have to use const char *, instead of const char [] here, because the pointer might change 2008-06-14 10:55:13 +01:00
Anselm R Garbe fcf26a38f1 using xidx 2008-06-13 12:04:04 +01:00
Anselm R Garbe a45f106d3c cosmetic fixes 2008-06-13 11:46:50 +01:00
Anselm R Garbe 596033b781 s/unsigned int/uint/, s/unsigned long/ulong/ 2008-05-22 11:15:11 +01:00
Anselm R Garbe 357558798c foo 2008-05-20 15:07:42 +01:00
anselm@anselm1 1f6af5e78f added Xinerama support to dmenu, reverted -b behavior, removed -x, -y, -w 2008-05-19 20:29:32 +01:00
Anselm R Garbe cbe5e88e4f using limits.h 2008-03-25 10:18:17 +00:00
Anselm R Garbe 2fe3ccdf58 bugfix of the -0 case in dmenu (thanks to Sander for his hint) 2008-03-25 09:43:34 +00:00
Anselm R Garbe 07d82c0c2a applied Jukkas hotfix 2008-03-24 15:56:41 +00:00
Sander van Dijk e7423f8fc6 more cosmetics 2008-03-23 22:06:09 +01:00
Sander van Dijk 61976c292b cosmetics 2008-03-23 21:17:35 +01:00
Sander van Dijk 63c9e30a76 made some whitespacing consistent. 2008-03-23 21:11:42 +01:00
sander@localhost 015f51ac46 removed unused variable nitem. 2008-03-23 12:09:29 +01:00
anselm@anselm1 542c58d8d0 several performance tweaks 2008-03-22 14:52:00 +00:00
Anselm R Garbe 745c46d8fa fixed match() to prefer prefix-matches to strstr-matches in the match list, extended the -y handling, next version is 3.6 2008-03-18 16:52:51 +00:00
Anselm R Garbe 301b4e5591 applied next patch of Sander 2008-03-13 12:02:29 +00:00
anselm@anselm1 38b866ba34 applied Sanders patch 2008-03-12 21:37:43 +00:00
Anselm R Garbe 540a78761b removed ido-matching, changed behavior of -i meaning case insensitive matching now, commented -x, -y, -w arguments in dmenu.1 2008-03-12 15:41:19 +00:00
Anselm R. Garbe 8b2f132973 implemented strcasestr for dmenu (I call it cistrstr) for portability issues (cygwin has no strcasestr, oh dear) 2007-10-01 15:28:42 +02:00
arg@suckless.org 72a8eb412f casting char to int when using tolower (thanks to Jukkas careful cosmetic checking!) 2007-09-24 15:04:31 +02:00
Anselm R. Garbe 2e898a308f yet another cosmetic fix 2007-09-23 18:32:08 +02:00
Anselm R. Garbe 6514b07ad2 small cosmetic fix 2007-09-23 18:31:19 +02:00
Anselm R. Garbe 724fe3cf7f applied Michał Janeczek dmenu patch, made dmenu match case-insensitive by default, added -i command line option to enable ido matching, added Michał to Copyright holders 2007-09-23 18:26:41 +02:00
arg@suckless.org 56f9e26b72 applied yiyus initfont fix 2007-09-19 17:33:35 +02:00
Anselm R. Garbe d094ebea96 reorganized 2007-09-17 20:53:14 +02:00
Anselm R. Garbe 06ae894434 micromizing dmenu step 1 2007-09-16 20:14:09 +02:00