Commit graph

73 commits

Author SHA1 Message Date
Dave Davenport
0795cfda8d Add display text modi. 2014-08-27 19:44:15 +02:00
Dave Davenport
e44183b406 Refactor the to-long menu() function.
* Split out larger sub-parts into separate functions.
    * Create a state structure.
    * Remove zeltak mode.
2014-08-26 20:25:00 +02:00
Dave Davenport
26e1561622 Removed unused code. (NEAR and i3_mode) 2014-08-25 09:14:49 +02:00
Dave Davenport
62d4f0cdad Make rofi compile happily under clang.
* Set features in configure.ac
    * use config.h file, instead of hardcoded _GNU_SOURCE
      in each c file.
    * Fix mix up unsigned/signed.
2014-08-22 09:27:45 +02:00
QC
9af1d490a6 Make Rasi a happy boy, add character width mode. 2014-08-11 20:21:29 +02:00
QC
280c3d7f7f Using Glib's utf8 functions to do string collating.
* casefold and use utf-8 collating.
        * use g_utf8_next/prev for moving cursor.
2014-08-07 21:42:16 +02:00
Dave Davenport
b196649f10 Fix #76: DMENU returns 1 on cancel.
* Pull out dmenu, separate it from normal modi.
    * Give dmenu a return value (1 on cancel)
2014-08-05 09:07:41 +02:00
QC
9bbb79a888 Remove Active mode. IT causes problems with matching and has limited use. 2014-08-03 17:21:42 +02:00
QC
5ddcac2514 Cleanup previous test commit. 2014-08-03 17:05:06 +02:00
QC
6a45a18a4e Pango testing. 2014-08-02 20:02:37 +02:00
QC
bd4aa3d2fa Fix #67 Allow alt-<num> to switch between modis 2014-07-21 23:19:45 +02:00
QC
cd4888a5cf Fix #65, Fix #63 Allow user to select list of modi's
* Add script_dialog, so user can add dialogs using a script.
    * Add a way to disable modi's
    * Add -show <modi> option.
2014-07-21 21:39:24 +02:00
Qball Cow
7a1766fa45 Fix issue #61 2014-07-21 16:26:35 +02:00
QC
0f279b2995 Restructure some code, fix a small bug in dmenu mode.
* dmenu crashed on no input lines (wrong free)
 * Pass length of lines to menu function.
2014-07-20 12:29:27 +02:00
Dave Davenport
c86f28493a Make levenshtein sorting its own option.
* TODO: update manpage. (no md2man on this machine)
2014-07-16 08:42:42 +02:00
QC
f9149b5bdb Add option to disable history. 2014-06-05 21:55:47 +02:00
Dave Davenport
d361b6c445 Cleanup, integrate opacity. 2014-06-05 08:11:01 +02:00
QC
6fb7e345d0 Insert key paste secondary, shift-insert primary. 2014-06-02 13:29:43 +02:00
QC
477b10fb2f Comments? 2014-06-02 12:54:35 +02:00
Qball Cow
ec538c64ea Initial pasting support. 2014-05-27 12:55:47 +02:00
Qball Cow
3188236121 Cleanups 2014-05-27 08:42:21 +02:00
Qball Cow
749d3e6223 Add docs 2014-05-27 08:31:59 +02:00
QC
56a911129d Re-use XftFont instead of recreating it each and every time. 2014-05-25 23:32:06 +02:00
QC
87958d4cad Add option to dump xresources entries. 2014-05-22 21:56:57 +02:00
QC
5769bc36f1 Make ssh set title public. 2014-05-22 10:03:36 +02:00
Qball Cow
beced5d36e Use true/false for hmode and fixed-num-lines
* Also update man page to reflect this.
2014-05-22 00:38:14 +02:00
Qball Cow
e3c20447c7 Remove prompt option from textbox, simplify code, fix small drawing issue. 2014-05-21 17:33:28 +02:00
Qball Cow
6d308cefd8 Remove value from config struct. 2014-05-20 11:22:03 +02:00
Qball Cow
85172743ee Keys via xresources, dump config. 2014-05-20 09:43:45 +02:00
QC
3157358c63 Add hmode to xrmoptions. 2014-05-19 22:12:54 +02:00
QC
05cf49a880 Fix some small memory leaks. 2014-05-19 21:58:13 +02:00
Qball Cow
0a95ba47fa Extra checks, first part cleanup 2014-05-19 21:02:05 +02:00
Qball Cow
cb15a57fb7 Remove memory wrappers, and use system stuff directly. 2014-05-19 16:48:50 +02:00
Qball Cow
b535533569 Add some initial columns support. 2014-05-19 09:50:09 +02:00
QC
f44fd74987 Add option to fix the size of rofi 2014-05-17 22:17:23 +02:00
QC
3ebd0d9001 Allow xoffset, fix bottom/right edge. 2014-05-15 21:55:23 +02:00
Qball Cow
82bdb5f348 Add a y-offset. 2014-05-15 16:54:35 +02:00
QC
7b7af4cfb4 Show arrows in list. 2014-05-14 20:56:38 +02:00
Qball Cow
de5187bb01 Add small arrows indicating more pages. (to be updated later) 2014-05-14 19:51:48 +02:00
Qball Cow
87b51f5430 Extract out the history code and create functions for it.
(Easier to fix issues later on)
2014-05-13 10:45:59 +02:00
Dave Davenport
0d6556618e Allow window title to be set. issue #42 2014-04-22 11:11:46 +02:00
QC
c87312be36 Indent o mania. 2014-03-22 21:04:19 +01:00
Qball Cow
4d37cf35dc Small fix! 2014-03-18 10:55:25 +01:00
Qball Cow
5d5779ad1d Small i3 fix 2014-03-18 10:38:30 +01:00
QC
7e12aeb597 Remove profile. 2014-03-17 19:28:11 +01:00
Qball Cow
6e7f1b746a Rename main file. 2014-03-12 08:41:38 +01:00
Qball Cow
c268c10f8b Fix warning from clang --analyze 2014-03-11 20:16:44 +01:00
Dave Davenport
8a3daf3194 Make things behave nice again in i3. 2014-03-02 12:53:06 +01:00
QC
57abc12c43 cleanups 2014-02-03 23:07:04 +01:00
QC
b9c192c4fe Removing duplicate code, small fixes. 2014-02-03 22:49:07 +01:00