Jakub Jirutka
50b85ba954
Add -combi-display-format ( #1570 )
...
Implement a new option -combi-display-format (analogous to
-drun-display-format) that allows to change position appearance of
the mode name in the combi entries.
2022-01-22 22:03:10 +01:00
Dave Davenport
faa360041e
Small cleanups.
2022-01-22 10:21:35 +01:00
Dave Davenport
0424dc6f2e
Small rename switcher --> mode.
2021-12-22 20:33:22 +01:00
Dave Davenport
c45fc38856
[Combi] Add a check against recursion.
...
Fixes : #1510
2021-10-29 00:39:51 +02:00
Quentin Glidic
f24cbe270e
script: Include config.h
...
It avoids deprecation warnings wrt GLib.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2021-10-28 06:31:20 +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
ccaaaf6a46
[RUN|DRUN] Only initialize file-completer on first use.
2021-10-12 13:35:00 +02:00
Dave Davenport
e3860c89e8
[FileBrowser] Reduce number of re-allocs.
2021-10-12 10:34:47 +02:00
Dave Davenport
324cbd7746
[DMenu] Fix uninitialized memory (nonselectable).
2021-09-23 10:22:19 +02:00
Dave Davenport
e081feec27
[FileBrowser] if text cannot be converted, try to mangle it into something.
...
Issue: #1471
2021-09-22 19:08:32 +02:00
Dave Davenport
e116aa5bc1
[Textbox|FileBrowser] Fix crash on invalid filename
...
Try to fix some crash on invalid filenames.
Issue: #1471
2021-09-22 15:45:02 +02:00
Dave Davenport
af3464a1c3
[Window] Lower class name before icon lookup
2021-09-15 18:10:22 +02:00
Dave Davenport
294a22f3dd
Fix some memory leaks.
2021-09-06 21:26:04 +02:00
Dave Davenport
c63e03fd49
[Window] Try to fix the autosizing of desktop name for non-i3 dekstop.
...
Issue: #1439
2021-09-06 20:32:36 +02:00
Dave Davenport
4d0eaf1463
[Window] Issue 1406 fix the broken close-on-delete ( #1421 )
...
* [1406] Add watcher for new/removed windows and reload based on that.
* [1406] Add a small timeout before reloading to avoid reloading several times in a row.
* [1406] close rofi if you receive a destroy window on rofi.
2021-09-03 13:53:43 +02:00
Dave Davenport
1d69aea295
[window] Remove completely broken feature close-on-delete.
...
Issue: 1406
2021-09-01 14:57:53 +02:00
Tuure Piitulainen
efb74c73ca
[Window] Fix typo in error message ( #1401 )
2021-08-30 23:19:32 +02:00
Dave Davenport
c64565e877
[CppCheck] Fix some shadowing variables.
2021-08-21 01:08:40 +02:00
Dave Davenport
e60e6bab2a
[Doc] Try to fix some of the doxygen coverage warnings.
2021-08-20 11:37:03 +02:00
Dave Davenport
954fc728b2
[Cleanup] Using clang-tidy
2021-08-18 01:16:45 +02:00
Dave Davenport
8720409ad3
[Window] Allow rofi to stay active on closing a window
...
```css
configuration {
window {
close-on-delete: false;
}
}
```
fixes : #1071
2021-08-17 18:16:25 +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
TonCherAmi
c1ff6baecd
[FileBrowser] Add option to group directories ahead of files. ( #1352 )
2021-07-10 23:58:27 +02:00
TonCherAmi
0ff0866be7
[FileBrowser] Add sorting-method. ( #1340 )
...
* [FileBrowser] Add sorting-method.
* [FileBrowser] Convert -file-browser-directory to new config format.
2021-06-27 09:28:21 +02:00
Dave Davenport
330402aa13
[FileBrowser] rename file-browser to filebrowser
...
In preperation to a overhaul of config system.
2021-06-24 19:11:56 +02:00
Dave Davenport
f72bae02bb
[DRun] Add advanced parse-user and parse-system config option.
2021-06-15 16:19:57 +02:00
Zachary Freed
44140ac5b4
Made it so the presence of a field in drun-display-format is enough to parse the .desktop files for that field. Also fixed helper_string_replace_if_exists only allowing one guarded field in the display format by making the regex ungreedy ( #911 )
...
Co-authored-by: Dave Davenport <DaveDavenport@users.noreply.github.com>
2021-06-15 14:32:46 +02:00
Dave Davenport
74144db77d
[Test] Fix the test.
2021-06-15 12:31:32 +02:00
Dave Davenport
0f21541327
[Configuration] Add start of more 'theme' based configuration.
...
Nested CSS blocks in configuration {} are parsed into
rofi_configuration.
2021-06-14 19:29:05 +02:00
Dave Davenport
5c5428bd11
[Theme] Add direction support to linear-gradient.
2021-06-14 15:14:41 +02:00
Dave Davenport
9d85bcb914
Update copyright header.
2021-06-09 14:50:39 +02:00
Dave Davenport
3950204760
[DRun] Do not use show-icons options, handle no-icon desktopfile better.
2021-06-09 01:20:36 +02:00
Dave Davenport
dc46457f71
Remove deprecated theme options
...
* color_window
* color_urgent
* color_active
* color_normal
2021-06-08 22:44:15 +02:00
Dave Davenport
1a9dac80a9
Remove some deprecated options.
...
* lines
* columns
* width
2021-06-08 22:33:23 +02:00
Dave Davenport
d18a887f03
[Combi] Disable completer.
2021-06-08 21:20:09 +02:00
Dave Davenport
cb250fa73a
Add fallback icon option.
2021-06-08 20:21:28 +02:00
Dave Davenport
6178970499
[DRun] Only go to file completer if desktop file support url.
2021-06-08 19:35:51 +02:00
Dave Davenport
6b9de4644e
[DRun] Add file completer to drun mode.
...
Add icons to run mode.
2021-06-08 19:28:13 +02:00
TonCherAmi
c1244b066f
[FileBrowser] Allow setting startup directory ( #1325 )
2021-06-05 14:22:48 +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
Dave Davenport
d857122251
[Script] Don't enable custom keybindings by default, script needs to enable this.
...
Having it on by default broke the default rofi workflow. Make it an
option now.
Fixes: #1286,#1226
2021-05-31 14:21:09 +02:00
Dave Davenport
f14c5c2ada
[X11Helper] Add exception for bspwm window placing above window.
...
fixes : #1169
2021-05-31 14:02:08 +02:00
Dave Davenport
ac179cd2d9
[DRun] Add support for service files
...
Untested as I do not have these files myself.
Issue: #1152
2021-05-30 23:21:42 +02:00
Jas
24dde58019
Implement pango markup for -window-format ( #1288 )
...
* Implement pango markup for -window-format
* Make sure role != null
Since g_markup_escape_text doesn't like null it seems
* Update formatting
To bring it more in line with surrounding code
* Address review comments
* Fix memory leaks
* Fix formatting
2021-05-29 13:36:34 +02:00
Dave Davenport
2c30035640
[DRun] Fix sorting when name is NULL.
...
Thanks to nick87720z
2021-05-23 00:31:38 +02:00
Dave Davenport
04c006a4a2
[FileBrowser] fix escaping of paths.
2021-05-10 21:34:17 +02:00
Dave Davenport
f69f8fcb7b
Cleanup code documentation.
2021-05-05 21:53:29 +02:00
Dave Davenport
a3f12837cb
Partially fix switching between modi, does not work for script mode.
...
Issue: #1286
2021-04-10 23:04:05 +02:00
Dave Davenport
44d8320e5c
[Window] revert accidental changes to window.c
2021-03-29 13:59:26 +02:00