Dave Davenport
5ae8fa5a3f
[Keyb] Add a -list-keybindings command.
2022-09-18 20:28:38 +02:00
Dave Davenport
fc07619ac6
[View|Xcb] Add support to copy current selected item to clipboard
...
Adds control-v binding that copies it to the clipboard.
THIS ONLY WORKS WITH CLIPBOARD MANAGER!!! once rofi is closes, the data is
gone!
This needs to be tested. Documentation on this is lacking so reversed
engineered from other applications.
TODO: how do we do the SAVE_TARGETS?
fixes : #378
2022-08-22 21:44:52 +02:00
Dave Davenport
47d785758a
[listview] Allow settings of flow direction of elements ( #1605 )
...
* [Listview] Initial implementation for left to right packing.
* [Listview] fix movement in pack-left-to-right.
* Add element-next/prev keybinding and remap tab.
* [Listview] Change option name to 'flow' and use rofi orientation type.
* [Listview] Make listview work with reverse property.
* Update test for 2 new keybindings.
fixes : #1058
2022-03-07 20:37:58 +01:00
Dave Davenport
82a50c6111
fix small compile warning glib.
2022-02-23 23:00:17 +01:00
Dave Davenport
4e06bff706
Change modi -> modes
...
issues: #1599
2022-02-23 22:42:56 +01:00
Dave Davenport
eff3b86c94
Bump copyright date.
2022-02-07 23:17:15 +01:00
Quentin Glidic
bde8175d39
gitmodules: Update libnkutils
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2021-10-28 06:33:12 +00:00
Dave Davenport
954fc728b2
[Cleanup] Using clang-tidy
2021-08-18 01:16:45 +02:00
a1346054
c62137f8ab
Simple maintenance improvements ( #1370 )
...
* rofi moved to libera.chat
* unify some theme headers and whitespace
* consistently use the same hashbang for bash
* improve obsolete way of testing equality
see https://github.com/koalaman/shellcheck/wiki/SC2268 for explanation
* use consistent function definitions in bash scripts
* remove duplicated author and fix whitespace
* quote all variables in scripts
fixes many warnings identified through shellcheck
* fix whitespace in scripts
* fix whitespace in non-source files
* fix spelling in non-source files
* fix whitespace and indentation in source files
* fix spelling in source files
2021-08-14 13:03:16 +02:00
Dave Davenport
c9701b2a91
[View] Add support for user timeout + keybinding action
...
Configuration looks like:
```css
configuration {
timeout {
delay: 15;
action: "kb-cancel";
}
}
```
Both delay and action need to be set.
Action can be any of the keybindings as shown in `rofi -show keys`.
(-timeout-delay 15 -timeout-action "kb-cancel" on commandline.).
Fixes : #1066
2021-06-30 13:29:54 +02:00
Markus Gräb
4fd4fb89af
New keybinding Ctrl-Shift-Enter ( #874 )
...
This function combines accept-custom with the functionality to start
the command in terminal
Co-authored-by: Markus Gräb <m_graeb11@cs.uni-kl.de>
Co-authored-by: Dave Davenport <DaveDavenport@users.noreply.github.com>
2021-06-15 14:43:30 +02:00
Dave Davenport
9d85bcb914
Update copyright header.
2021-06-09 14:50:39 +02:00
Dave Davenport
2eefd9b191
[Run] Allow (Ctrl-L) to complete files using file-browser.
...
Merge old setup from #1116
issue: #1116 #659
2021-06-01 13:14:45 +02:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +01:00
Dave Davenport
b03edc5cf3
Update copyright dates.
2020-01-01 12:23:12 +01:00
Simon Legner
5f57519940
Fix typo "Csutom" ( #1025 )
2019-11-03 20:06:48 +01:00
Dave Davenport
8d9e403659
Update copyright.
2019-09-27 11:58:32 +02:00
Dave Davenport
52c5592a6f
[ListView|Textbox] Add user-settable ellipsize mode.
...
Fixes : #917
2019-05-04 11:04:54 +02:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Maxim Baz
ff9b0f5ccd
Add default shortcuts: Shift+BackSpace to delete previous char, Ctrl+Left/Right for word movements ( #790 )
...
* Support Shift+BackSpace by default to delete previous char
* Support Ctrl+Arrow for word movements
2018-06-13 14:15:31 +02:00
Dave Davenport
d2576e9f1f
More source code documentation updates
2018-06-12 12:31:34 +02:00
Quentin Glidic
101c4dcc26
bindings: Rework mouse bindings ( #745 )
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-12-26 10:10:40 +01:00
Quentin Glidic
4e4e3917aa
gitmodules: Update libnkutils and libgwater
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-10-14 16:43:02 +02:00
Dave Davenport
a25a21c65e
Improve error message a little when bindings collide.
...
Issue: #640
2017-07-25 17:09:53 +02:00
Dave Davenport
8875118334
Don't popup error dialog, pospone error message.
2017-06-03 16:06:32 +02:00
Quentin Glidic
9b58a9bc31
xcb: Move more stuff to xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:39:11 +02:00
Quentin Glidic
52aac6d3b6
gitmodules: Update libnkutils
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-31 20:26:12 +02:00
Quentin Glidic
4891bcd7eb
bindings: Use a wrapper around rofi_view_trigger_action
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 14:14:59 +02:00
Quentin Glidic
6d27a89b99
bindings: Drop unused (and buggy) sentinel
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
a9199e3e17
Use libnkutils for keybindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 16:51:06 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
Dave Davenport
9ae1344d56
Improve error message when called with -show
2017-03-31 13:47:44 +02:00
Dave Davenport
6de992bda8
Remove unneeded tab binding.
2017-03-29 12:25:57 +02:00
Dave Davenport
042e123765
Change default from Shift+Tab to ISO_Left_Tab
2017-03-29 11:56:19 +02:00
Dave Davenport
268b0fa3b0
Super-1..10 keybinding activates row 1..10.
...
Allowing fore quick switching to entry.
https://forum.qtools.org/t/select-entry-by-offset/84/5
2017-01-10 07:41:37 +01:00
Dave Davenport
baab2047ad
Indent magic, rework makefile so lexer and yacc file are not passed.
2017-01-08 21:36:06 +01:00
Dave Davenport
c9b5667a3f
Issue: #39 remove delay (until next blink) when triggering on release
2016-11-30 16:35:34 +01:00
Dave Davenport
a9dbd787cf
Include in error mesg, what key failed to bind.
2016-11-14 18:42:41 +01:00
Dave Davenport
62879ee739
Continue parsing when keybinding fail, only show errors after all are done.
2016-11-14 16:53:01 +01:00
Dave Davenport
fcf3c33415
Fix keybinding with Shift in name. Alt-Shift-S -> Alt-S. Alt-Shift-1 -> Alt-exclam
...
+ indent.
2016-11-14 16:25:04 +01:00
Dave Davenport
e3af1efaef
Fix crash when clicked out of window.
2016-11-11 09:30:44 +01:00
Dave Davenport
217290479e
Merge two functions that no longer have a reason to be split.
...
Fixes : #491
2016-10-28 08:51:53 +02:00
Dave Davenport
163934fa8c
Simplify some code, more comments. (90% docu)
2016-10-25 22:45:11 +02:00
fice-t
a657f81145
Bind Control+g to kb-cancel ( #452 )
...
Control+g is the Emacs/readline standard for abort, so it would be nice
to have this by default.
2016-08-25 07:52:54 +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
1f4af41e96
Split Custom and Alternate command.
2016-06-19 18:02:49 +02:00
Dave Davenport
72ffebc8fe
Remove Tab from row-down list
2016-06-18 21:18:28 +02:00
Dave Davenport
0170aef0e6
Add Control-Backspace as keybinding.
2016-06-06 09:31:48 +02:00
Dave Davenport
ed7aeb7722
Fix 'Tab' binding description
2016-05-31 08:05:09 +02:00