Commit graph

1064 commits

Author SHA1 Message Date
Dave Davenport
284b3cb78b Update manpage to show -display- option, sidebar mode uses display name. 2016-08-22 08:04:20 +02:00
Dave Davenport
6225b29d94 Issue 448, Take another default that should not fail, better error mesg 2016-08-19 18:01:26 +02:00
Dave Davenport
df7468b491 Use XRandr to get monitor layout instead of xinerama.
* You can now specify monitor by name, or primary status.
2016-08-19 10:46:38 +02:00
Dave Davenport
26d1e64b22 Make textbox use character position instead of byte index for cursor. 2016-08-15 09:01:56 +02:00
Dave Davenport
b5595d7a7e Fix #443 2016-08-13 16:22:15 +02:00
Dave Davenport
026a8cbb34 Fix #438 look for a 8 bpc 32bit visual, fixes 10bpc 30bit screen 2016-08-07 13:26:28 +02:00
Dave Davenport
6495d8e8df Add -input to -h output 2016-08-05 07:45:39 +02:00
Dave Davenport
eb0bfc60c4 Indicate what set an option, comment default options in dump-xresources. 2016-08-04 20:24:01 +02:00
Dave Davenport
ce822a3bbf Fix memory leak run dialog when skipping. 2016-08-02 18:37:14 +02:00
Dave Davenport
90c6c1125f Fix memory leak overlay widget 2016-08-02 18:33:55 +02:00
Dave Davenport
604b4cb619 Fix memory leak, re-indent 2016-07-31 23:28:31 +02:00
Dave Davenport
4ad2c37eea textbox: Handle tall glyphs better (#433)
We now place text based on the baseline, instead of the top of the
tallest glyph.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-07-30 20:39:45 +02:00
Dave Davenport
4be25abad7 Fix some doxygen warnings. 2016-07-29 08:32:34 +02:00
Dave Davenport
8478b427f1 Fix Control+u behaviour 2016-07-27 08:10:55 +02:00
Dave Davenport
fe230eb95c Fix #432, Control+k removes till eol. 2016-07-25 11:32:30 +02:00
Dave Davenport
22c8760e32 First try at fixing #430. Needs testin. 2016-07-22 09:44:12 +02:00
Dave Davenport
5d5c9713d7 Fix crasher on no scrollbar and mouse seek. 2016-07-21 07:57:35 +02:00
Dave Davenport
602eb63557 Add `-multi-select flag to dmenu.
* Changes default behaviour.
2016-07-18 23:58:08 +02:00
Dave Davenport
59635919ea Add selection indicator to dmenu mode. 2016-07-18 23:49:26 +02:00
Dave Davenport
85d95c4f8f Fix memory leak 2016-07-16 22:36:20 +02:00
Dave Davenport
e9c3b930bc [Window] Chomp result
Fixes #426
2016-07-16 22:25:00 +02:00
Dave Davenport
b31cf1d32f On rofi -show without argument, run de first one from the modi list. 2016-07-13 08:55:40 +02:00
Dave Davenport
b47e9c3846 Allow for more advanced window 'line' formatting 2016-07-12 10:44:43 +02:00
Dave Davenport
342192b4ed Remove work-around for older i3 version (< 4.9)
- I3 got ewhm support in Feb. 2015.
2016-07-06 08:34:47 +02:00
Dave Davenport
dfc952f570 Add missing static 2016-07-05 18:13:53 +02:00
Dave Davenport
b7fba9752f Don't double switch something trivial. 2016-07-05 09:21:50 +02:00
Dave Davenport
7c9f5e01fd Fix tests and crash. 2016-06-28 23:34:07 +02:00
Dave Davenport
9f25a975ae Fix windowcd command and allow custom Window string format 2016-06-28 23:07:48 +02:00
Dave Davenport
3ac07c3535 Fix indenting 2016-06-27 20:43:09 +02:00
Dave Davenport
baee50e346 XRM: rofi is not a class name 2016-06-27 08:26:09 +02:00
Dave Davenport
4af6976411 Fix piece of weird code to fetch background image. 2016-06-26 17:10:29 +02:00
Dave Davenport
6e2d0b6319 Add selection counter in dmenu mode 2016-06-26 15:48:12 +02:00
Dave Davenport
c87e91b6d9 Make select behave more Rasi-ish 2016-06-26 11:00:23 +02:00
Dave Davenport
40f95ae81f Make bit functions static 2016-06-25 17:40:24 +02:00
Dave Davenport
ce645d78b3 Multi-select with unselect 2016-06-25 17:36:35 +02:00
Dave Davenport
a7922cc07c Remove xlib dependency, add xcb-util-xrm. 2016-06-25 14:01:41 +02:00
Dave Davenport
77a0800ccf Copy memory instead of mixing malloc and g_malloc'ed memories (and freeing them all with g_free) 2016-06-21 22:40:42 +02:00
Dave Davenport
5fb6ee1383 Fix rootwindow set at wrong pointer level. 2016-06-21 22:09:29 +02:00
Dave Davenport
1f4af41e96 Split Custom and Alternate command. 2016-06-19 18:02:49 +02:00
Dave Davenport
dab872879e Remove Tab from row-down list 2016-06-18 21:18:06 +02:00
Dave Davenport
03239cb989 Remove fuzzy matching option. 2016-06-18 20:54:29 +02:00
Dave Davenport
7a2435a23b Indent don't use partial match. 2016-06-16 22:23:55 +02:00
Dave Davenport
57336b96f0 Merge remote-tracking branch 'origin/master' into highlight_match 2016-06-16 08:41:40 +02:00
Dave Davenport
60cb992cac Fix double free 2016-06-12 00:58:43 +02:00
Dave Davenport
e966fbe583 Terminate rofi if switcher is not found 2016-06-07 09:58:48 +02:00
Dave Davenport
0b84d63959 Merge remote-tracking branch 'origin/master' into highlight_match 2016-06-07 09:02:03 +02:00
Dave Davenport
0170aef0e6 Add Control-Backspace as keybinding. 2016-06-06 09:31:48 +02:00
Dave Davenport
9ff7a26c7e Some indenting fixes 2016-06-05 20:41:10 +02:00
Dave Davenport
3f31620a3e Wip/drun subdirs (#416)
* drun: Walk subdirectories too

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>

* Remove goto, make it work for Filesystems that do not support reporting file type.

* Fix using filename before creating it.

* Run indenter over drun file.

* Fix stupid typo
2016-06-05 19:01:38 +02:00
Dave Davenport
72d6c20876 Merge remote-tracking branch 'origin/master' into highlight_match 2016-06-01 19:04:52 +02:00
Dave Davenport
01ce909c97 Update some headers. 2016-06-01 07:34:41 +02:00
Dave Davenport
ed7aeb7722 Fix 'Tab' binding description 2016-05-31 08:05:09 +02:00
Dave Davenport
10e3526237 Fix description, -switchers does not exist. 2016-05-31 07:59:40 +02:00
marduk
be5a66c9b5 Added the descriptions of the keybindings 2016-05-31 07:47:17 +02:00
Dave Davenport
8616b32310 Remove initialization 2016-05-30 21:10:10 +02:00
Dave Davenport
d62cc8a4ba First throw at issue #403, show wm name. 2016-05-30 18:35:22 +02:00
Quentin Glidic
56ed9e6a04 gitmodules: Update libgwater
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-30 18:25:40 +02:00
Dave Davenport
0fb7258470 Fix missing equals 2016-05-30 10:27:58 +02:00
Dave Davenport
1b5bcaa9f4 Issue #411: Show list of Keyboard bindings with rofi, from rofi. 2016-05-30 10:25:58 +02:00
Dave Davenport
e84e387e94 Fix 1 character entries in git. 2016-05-27 09:31:57 +02:00
Dave Davenport
0e86050db8 Fix combi mode 'bang' behaviour, improve levenshtein with combi 2016-05-26 08:39:33 +02:00
Yaroslav
f901494c6a Switch to stop cycling feature (#407)
* Added 'cycle' option to switch list navigation wrapping

* Replaced tabs with spaces

* Updating the expected rofi properties with 'cycle' option

* Updating documentation with the 'cycle' option
2016-05-25 20:40:23 +02:00
Dave Davenport
7aff2ae243 Merge remote-tracking branch 'origin/master' into highlight_match 2016-05-23 17:11:41 +02:00
Dave Davenport
5b3239a748 Fix: #409 Use display-name for prompt. 2016-05-23 08:19:36 +02:00
Dave Davenport
99a79f7eb4 Don't use g_ascii on utf8 string. 2016-05-22 19:41:52 +02:00
Dave Davenport
498fadc735 Remove the is_ascii mess. 2016-05-22 17:47:34 +02:00
Dave Davenport
8091558ed8 Go Regex Go 2016-05-21 10:37:23 +02:00
Dave Davenport
2a20821ddd Merge remote-tracking branch 'origin/master' into hm 2016-05-20 09:57:25 +02:00
Quentin Glidic
db4f087487 window: Make custom action run a command on the window
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-12 11:31:12 +02:00
Quentin Glidic
3bd41b9a41 window: Kill the window on delete-entry
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-12 11:30:34 +02:00
Dave Davenport
c8a6b26607 First try at highlighting match (regex only) 2016-05-10 18:02:23 +02:00
Dave Davenport
09437e3f0e We don't have a negative page number. 2016-05-10 17:51:23 +02:00
Dave Davenport
6070826c4d Avoid needles updates when using continious scrolling 2016-05-10 11:47:32 +02:00
Dave Davenport
bd412b9975 Grab mouse pointer with keyboard. 2016-05-09 08:47:28 +02:00
Dave Davenport
b8ecbdcef5 Add option to set background for rofi window 2016-05-08 11:14:34 +02:00
Dave Davenport
8f6c9ee070 Fix indenting 2016-05-08 11:13:11 +02:00
Georgios Bitzes
8af7f014cd Permit binding a modifier key on its own 2016-05-07 15:20:48 +02:00
Quentin Glidic
67b0ce036f keybindings: Implement on-release bindings
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:31:04 +02:00
Quentin Glidic
20791d4a71 view: Split action triggering to an helper function
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:31:00 +02:00
Quentin Glidic
54f85fabaa keybindings: Rework the matching
Now we check all bindings in one place, allowing for future naughty
matching.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:25:04 +02:00
Quentin Glidic
65447b496a view/navigation: Cleanup
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:32 +02:00
Quentin Glidic
aa350a1583 textbox/key: Cleanup
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:22 +02:00
Quentin Glidic
67c9fe158a textbox/keybinding: Reindent
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:16 +02:00
Quentin Glidic
5b0964ae32 textbox: Split keybinding and text handling
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:10 +02:00
Quentin Glidic
143acf622b view/keypress: Reindent
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:09 +02:00
Quentin Glidic
117c2360a4 view/keypress: Cleanup some useless stuff
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:23:44 +02:00
Quentin Glidic
0d899f1bbd view: Split keypress handling to an helper function
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:23:13 +02:00
Dave Davenport
8e05106c87 Add option to view background image instead of screenshot in fake transparency. Issue #390 2016-05-06 12:40:55 +02:00
Dave Davenport
09d1955338 Issue: #395 adding more options. 2016-04-29 21:42:31 +02:00
Dimitar Yordanov
74d1b234d9 When switching windows also switch the desktop
If the window we switch to is not on the same desktop, first switch to
the desktop.
2016-04-28 22:45:01 +02:00
Dave Davenport
4dbf2813d0 Issue #388, Try to make history parser more robust against corruption. 2016-04-27 12:57:43 +02:00
Dave Davenport
1661244407 Issue: 386: Fix getting desktop number property 2016-04-26 07:52:29 +02:00
Dave Davenport
85aeffbd24 small cleanup 2016-04-20 17:03:34 +02:00
Dave Davenport
44481cdb40 Small cleanups, fix worker error dialog. 2016-04-20 08:08:18 +02:00
Dave Davenport
3918625804 Move teardown to the logic place again (possible with deamon mode removed) 2016-04-20 08:04:23 +02:00
Dave Davenport
26e1083812 Issue: #380 Make combi complete prepend bang 2016-04-10 20:57:12 +02:00
Dave Davenport
cbf625ec9f Work around crash. echo error to stderr. 2016-04-10 15:04:34 +02:00
Dave Davenport
96cb3a8695 Remove fgets and replace by getline. 2016-04-10 14:30:13 +02:00
Dave Davenport
b63f8e2275 Move history to getline and remove magic limit. 2016-04-10 13:55:18 +02:00
Dave Davenport
a69754abff Remove left-over printf. 2016-04-10 12:08:36 +02:00