Commit graph

2150 commits

Author SHA1 Message Date
QC
fc88182484 Fix crasher, when used as input. 2014-04-28 21:18:42 +02:00
Qball Cow
832c2cb584 Add comment to avoid mistake later, remove alloca
* Add comments so previous mistake is not repeated.
    * Remove alloca, replace it by strdup/asprintf.

Code now passes cppcheck.
2014-04-25 09:11:10 +02:00
Qball Cow
a0a5400c72 Fix bug with extra trailing \n 2014-04-24 23:39:26 +02:00
Qball Cow
aeefabe7a0 Fix unclosable window bug.
Fix annoyance, when it failed to grab keyboard, it still shows windows and waits for
    input. This causes an unaccessible Rofi instance.
2014-04-24 18:03:27 +02:00
Qball Cow
7887344d44 Removed unused, add comments. 2014-04-24 17:35:40 +02:00
Qball Cow
46309a6fd5 Replace malloc/memset with calloc. 2014-04-24 14:25:18 +02:00
Qball Cow
f0aa796fd8 Small cleanups. 2014-04-23 08:47:46 +02:00
Qball Cow
4fd76f59b4 Use asprintf.
Avoid possible errors.
2014-04-22 14:38:36 +02:00
Dave Davenport
0d6556618e Allow window title to be set. issue #42 2014-04-22 11:11:46 +02:00
QC
d64345ccbe identify. 2014-04-16 21:43:34 +02:00
Qball Cow
de21215491 Paginating 2014-04-15 09:14:00 +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
Qball Cow
925097c9dd Remove unused header. 2014-03-18 00:05:38 +01:00
Qball Cow
89b48fb767 Fix timeout, detect i3 2014-03-17 23:58:08 +01:00
QC
7e12aeb597 Remove profile. 2014-03-17 19:28:11 +01:00
Qball Cow
07f8073d4e Use autotools (1) 2014-03-17 19:16:09 +01:00
QC
f033a0d669 Small fix. 2014-03-16 13:48:03 +01:00
Qball Cow
dc5c853d91 small fix for stupid error 2014-03-12 17:40:23 +01:00
Qball Cow
0d1e5ae597 Small fix forgot one header file entry. 2014-03-12 08:52: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
Qball Cow
9d531043e3 Possible fix for issue #32 2014-03-10 08:49:38 +01:00
Qball Cow
702ff68eb4 Sort favorites by # of runs 2014-03-08 21:35:27 +01:00
Dave Davenport
8a3daf3194 Make things behave nice again in i3. 2014-03-02 12:53:06 +01:00
Daniel Hahler
1834e25ef3 Select the target desktop in non-i3_mode
Fixes https://github.com/DaveDavenport/rofi/issues/28

This is merged from the original upstream at:
https://github.com/seanpringle/simpleswitcher/blob/master/simpleswitcher.c
(including the TODO)
2014-03-02 10:37:58 +01:00
Daniel Hahler
ea8c9923d5 Display desktop number with the pattern in window mode
This is merged from the original upstream at:
https://github.com/seanpringle/simpleswitcher/blob/master/simpleswitcher.c
2014-03-02 10:33:27 +01:00
QC
1bed4252ae More rename. 2014-03-01 17:28:55 +01:00
QC
7f32582582 Rename simpleswitcher to rofi. 2014-03-01 17:27:52 +01:00
QC
52a28ea494 Small cleanups. 2014-02-27 20:26:35 +01:00
QC
a3569079c9 Make cppcheck happy. 2014-02-26 22:48:49 +01:00
Qball Cow
c2e25dc0c1 Use Xutf8LookupString 2014-02-25 22:54:44 +01:00
Qball Cow
5619c856f1 First throw at some utf8 support 2014-02-25 09:16:52 +01:00
Qball Cow
faab271283 Do not free the return value of XResourceManagerString.
(See manual http://tronche.com/gui/x/xlib/resource-manager/XResourceManagerString.html)
2014-02-04 18:39:32 +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
QC
2bfc2fff4b Remove mark dialog. 2014-02-03 22:28:04 +01:00
QC
c71e0313a9 Add header. 2014-02-03 21:46:44 +01:00
QC
96e76c1998 Split out xresource and add -v --version 2014-02-02 10:54:01 +01:00
QC
302db5bf07 Add two extra options to xresource 2014-02-01 23:10:49 +01:00
QC
bd3d69d1ae Replace malloc by allocate 2014-02-01 23:07:03 +01:00
QC
0737b4f5b2 Read settings from Xresource.
Code borrowed from Sean Pringle (yet again).
2014-02-01 23:04:45 +01:00
QC
76a8f79211 Accept empty lists 2014-02-01 22:31:07 +01:00
Qball Cow
fa5a496629 Fix a few minor bugs 2014-02-01 14:39:49 +01:00
Qball Cow
5415cd60ed Add delete option to ssh switcher 2014-02-01 14:06:08 +01:00
Qball Cow
6177c90a87 Restructure for and add option to delete entry from history. 2014-02-01 14:03:23 +01:00
QC
8310a97219 Fix endline thingy in dmenu 2014-01-31 20:36:14 +01:00
QC
8725748916 Home/End key map to list browsing. 2014-01-31 19:39:09 +01:00
Qball Cow
47ad13fdf3 Add kp home/end 2014-01-31 18:14:46 +01:00
Qball Cow
972e3ee1d7 Add home/end key support 2014-01-31 18:09:36 +01:00
Qball Cow
290ed81e08 Add Page up/down 2014-01-31 18:06:51 +01:00
Qball Cow
e9770460dd Fix i3less build. 2014-01-31 15:52:04 +01:00
Qball Cow
8edac70eae Remove json. 2014-01-31 13:57:49 +01:00
Qball Cow
1fc03ce908 Implement scrolling in menu 2014-01-31 13:41:08 +01:00
QC
101c63cde6 Indent. 2014-01-30 21:32:36 +01:00
Qball Cow
c32e18b600 Make dmenu mode behave more like dmenu 2014-01-30 18:23:52 +01:00
QC
39b25093bd in dmenu mode accept -p as prompt param 2014-01-30 12:15:32 +01:00
QC
760a634731 Indent. 2014-01-30 10:02:01 +01:00
Qball Cow
bbe4a3d330 Add dmenu option 2014-01-30 00:47:23 +01:00
QC
78845b52f4 Fix issue #19, accept as argument too 2014-01-29 20:45:38 +01:00
QC
13da91b200 Remove more stray printf 2014-01-29 20:39:25 +01:00
QC
080e1f0a15 Remove stray printf 2014-01-29 20:37:33 +01:00
Qball Cow
167429bae0 Read json file chuncked, and from stdin 2014-01-29 18:44:09 +01:00
Qball Cow
acc46c4dd2 Add a test json mode 2014-01-29 15:38:08 +01:00
QC
04f6fb91e8 Fix issue #15 2014-01-28 20:52:52 +01:00
QC
8a053642c4 Rename inner_margin to padding so it goal is more clear. issue #14 2014-01-28 20:48:48 +01:00
QC
8508c73b12 Add switch_profile.sh mode 2014-01-27 22:15:33 +01:00
Qball Cow
f8b72dfbac small arm compiler fix 2014-01-26 23:20:15 +01:00
QC
b0ee6ab8dd also accept . in ssh hostname 2014-01-26 16:47:26 +01:00
QC
8b6b494830 Support _ in ssh hostname 2014-01-26 16:21:08 +01:00
QC
4efeb421f2 Don't talk to i3 if i3-mode is 0 2014-01-26 15:47:17 +01:00
QC
07072de251 Add missing files 2014-01-26 15:41:45 +01:00
QC
0529d21ffd Add support for selecting marks 2014-01-26 15:39:50 +01:00
QC
bd33e93e16 Put user settable config in separate file. 2014-01-26 13:29:38 +01:00
QC
2b453668e7 Add ctrl-j/k to navigate 2014-01-26 13:04:00 +01:00
QC
e62ada2a83 Add support for horizontal mode. 2014-01-26 12:59:10 +01:00
Qball Cow
f72a60580f Allow user to specify location of switcher 2014-01-26 00:27:57 +01:00
QC
6e242c197e Use XDG basedir for CACHE. 2014-01-25 23:37:37 +01:00
QC
f24b5ef19a Some cleanups 2014-01-23 20:33:13 +01:00
Qball Cow
9f4078cec8 Remove duplicate variable, revert earlier change. 2014-01-23 18:24:28 +01:00
Qball Cow
95dd228dd6 Small compile fix on arm 2014-01-23 18:03:11 +01:00
Qball Cow
e95727c3bc Config cleanups. 2014-01-23 11:39:12 +01:00
Qball Cow
458503df90 Make down key behave different from tab, it feels inconsistent. 2014-01-22 17:48:50 +01:00
Qball Cow
c5ed30c532 Fix margin 2014-01-22 13:32:46 +01:00
Qball Cow
498c007193 Add line. 2014-01-22 13:15:38 +01:00
Qball Cow
f4da5aceb2 Don't add empty ssh targets. 2014-01-22 10:01:45 +01:00
Qball Cow
6bb615f1d1 small cleanup 2014-01-22 09:24:31 +01:00
Qball Cow
424cb90a18 Fix clang compilation. 2014-01-21 15:00:00 +01:00
Qball Cow
0dbd57b46f Include errno.h 2014-01-21 14:56:25 +01:00
Qball Cow
0068618573 cleanup 2014-01-21 10:35:59 +01:00
Qball Cow
ef8d444dd2 Add keybinding. 2014-01-21 10:13:42 +01:00
Qball Cow
a749aa35e9 Add a SSH selector. 2014-01-21 10:01:55 +01:00
Qball Cow
3a44951e9f More cleanups to make more extendable 2014-01-21 00:20:09 +01:00
QC
5e72018497 Split of run-dialog part in separate file. 2014-01-20 23:36:20 +01:00
QC
f3a77c9b00 Cleanups. 2014-01-20 22:58:10 +01:00
QC
eda0a9e0d0 Add option to specify terminal to launch 2014-01-20 21:17:19 +01:00
QC
22399d0fae Fix last commit, make difference between enter and escaped 2014-01-20 20:49:26 +01:00
QC
164073ffd3 Allow non-matches to be executed.. (and added to history). 2014-01-20 20:26:17 +01:00
QC
06039b8c9c Restructure a bit. 2014-01-19 14:18:42 +01:00