Dave Davenport
534aa6ad54
Rename Dialogs -> Modes
...
Try to fix some of old syntax.
2022-02-23 23:18:53 +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
Dave Davenport
85c6545a43
Merge List and Array type into one. ( #1572 )
...
* Merge list and array into one.
* [Lexer] Only use string without " in list
* Some cleanups
* Cleanups based on feedback.
2022-01-25 09:57:59 +01:00
Dave Davenport
f5eafcc04c
[1566] Extra debug for monitor resolving for m=-1.
2022-01-13 20:55:26 +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
06bb72d39b
[DMenu] Do not crash when no entry is available.
...
Issue: #1504
2021-10-16 01:39:21 +02:00
Dave Davenport
c10ee955bd
#1437 - Fix sizing logic for widgets and textboxes. ( #1444 )
...
* [I1437] Textbox make get_desired_width depend on width.
Should fix some weird sizing issues on creation of widgest.
* [i1437] [View] Do the sizing based on the desired window width.
issue: #1437
* [i1437] Fix header documentation.
2021-09-07 19:40:07 +02:00
Dave Davenport
f4e5fd328a
Revert "[I1437] Textbox make get_desired_width depend on width."
...
This reverts commit 154e03efc1
.
2021-09-06 22:47:35 +02:00
Dave Davenport
965d3631cb
Revert "[i1437] [View] Do the sizing based on the desired window width."
...
This reverts commit 46ac770fcc
.
2021-09-06 22:47:26 +02:00
Dave Davenport
46ac770fcc
[i1437] [View] Do the sizing based on the desired window width.
...
issue: #1437
2021-09-06 22:42:33 +02:00
Dave Davenport
154e03efc1
[I1437] Textbox make get_desired_width depend on width.
...
Should fix some weird sizing issues on creation of widgest.
Issue: #1437
2021-09-06 22:36:21 +02:00
Dave Davenport
4b3f6f6767
[I1405] Allow action to be taken on input change. ( #1420 )
...
Fixes : #1405
2021-09-02 09:55:31 +02:00
Dave Davenport
c64565e877
[CppCheck] Fix some shadowing variables.
2021-08-21 01:08:40 +02:00
Dave Davenport
954fc728b2
[Cleanup] Using clang-tidy
2021-08-18 01:16:45 +02:00
Dave Davenport
48de8e5ff8
[Cleanup] clang-tidy view.c
2021-08-18 00:29:24 +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
9f71c4f78d
[Config] Load default config file in at startup
...
* load via resources doc/default_configuration.rasi
* print the configuration options on dump-config
2021-07-10 00:25:20 +02:00
Dave Davenport
0c304524fb
[Icon|Button] Make action available on icon and use keyb name.
...
You can now bind a key-binding on mouse click to icons and buttons by setting
"action" property.
For example:
```css
icon-paste {
expand: false;
filename: "gtk-paste";
size: 24;
vertical-align: 0.5;
action: "kb-primary-paste";
}
```
2021-06-30 14:12:09 +02:00
Dave Davenport
c1cd4540a4
[View] User-timeout: reset timeout on action
2021-06-30 13:38:20 +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
Dave Davenport
33248f511c
[View] Don't refilter when no mode is selected.
2021-06-27 11:54:57 +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
00f290beed
[Widget] Fix small compile warning.
2021-06-10 21:08:37 +02:00
Dave Davenport
9d85bcb914
Update copyright header.
2021-06-09 14:50:39 +02:00
Dave Davenport
0726ed9f33
[Config] Remove fake-transparency/background option.
...
* fake-transparency
* fake-background
2021-06-08 23:07:52 +02:00
Dave Davenport
1a9dac80a9
Remove some deprecated options.
...
* lines
* columns
* width
2021-06-08 22:33:23 +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
3b297ee80d
Re-indent the code using indenter.
2021-06-01 10:44:23 +02:00
TonCherAmi
dc28a97437
Add cursor property ( #1313 )
...
* Change mouse cursor on widget hover
Currently only listview element and editbox are supported.
* Add cursor property
2021-05-23 00:17:27 +02:00
Dave Davenport
f69f8fcb7b
Cleanup code documentation.
2021-05-05 21:53:29 +02:00
Dave Davenport
67eda1a776
Remove -fullscreen option, deprecated by new theme format.
...
Use 'window {fullscreen: true;}' instead.
2021-05-02 20:15:58 +02:00
Dave Davenport
d539e6478a
Remove -show-match option, deprecated.
...
Use 'element {highlight: none;}' in theme/configuration to reproduce it.
2021-05-02 20:01:03 +02:00
rahulaggarwal965
e304dbc883
Added -hover-select option that automatically selects the entry under the cursor ( #1234 )
2021-04-13 11:45:20 +02:00
Dave Davenport
e9cf6fb2b0
Improve blur algorithm.
2021-02-16 01:46:04 +01:00
Dave Davenport
606d9d12bf
Test blurring of background image (screenshot/background/image).
...
window {
blur: {radius};
}
Does not work on true transparency.
2021-02-15 23:30:58 +01:00
Quentin Glidic
2e18133667
xcb: Restore focus in more places
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-12-20 14:11:56 +01:00
Quentin Glidic
11b677b521
xcb: Nicer focus stealing in O-R mode
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-12-13 15:56:37 +01:00
Dave Davenport
ec858dd305
Revert "xcb: Steal focus in O-R mode"
...
This reverts commit 1c9d975dd2
.
Fixes : #1228
2020-12-09 16:04:04 +01:00
Quentin Glidic
1c9d975dd2
xcb: Steal focus in O-R mode
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-11-27 07:26:17 +01:00
Quentin Glidic
627bd43510
xcb: Ask for focus where possible
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-11-27 07:26:16 +01:00
Dave Davenport
7061eb21ae
Indent round.
2020-11-03 23:57:02 +01:00
Dave Davenport
011908e1ff
issue 1187: If error on launching application, show error message and return to list` ( #1193 )
...
* Show error message, then possibly pop back to main window.
Fix drun/run dialog to use this for command execution.
Issue #1187
* [Combi] When no line selected, handle using the first entry.
* [Window] Add execute on invalid input to window dialog.
* Update view.h doxygen docu
* Update manpage with running application changes.
2020-09-13 21:56:25 +02:00
Dave Davenport
6a38f88e98
Split MENU_QUICK_SWITCH into MENU_CUSTOM_COMMAND/QUICK_SWITCH
2020-09-08 18:24:36 +02:00
Dave Davenport
30735791b4
Run indenter.
2020-08-28 16:41:59 +02:00
Dave Davenport
bf17e1c65e
When no dpi set (-1) set the default one for fonts handling.
2020-06-09 22:51:44 +02:00
Dave Davenport
2ccc65ff52
Add some ui benchmark code
2020-05-12 10:40:50 +02:00
Dave Davenport
3e64e4422d
[DMenu] Implement -keep-right
...
Fixes : #1089
2020-04-16 23:31:43 +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