Commit graph

3748 commits

Author SHA1 Message Date
Sainnhe Park
eb494ddc7b
Add installation instructions for macOS (#1663)
A new port has been added in https://github.com/macports/macports-ports/pull/15503

Now macOS users can install rofi via MacPorts.
2022-07-30 09:50:26 +02:00
Sainnhe Park
28ad6e34cf
[filebrowser] Fix st_atim undefined on macOS (#1662)
When compiling on macOS, an error message will pop up:

```
error: no member named 'st_atim' in 'struct stat'
```

This is because `st_atim`, `st_ctim` and `st_mtim` does not exist on
macOS, instead it uses `st_atimespec`, `st_ctimespec` and
`st_mtimespec`.

In this commit, 3 macros are defined to try to fix this problem.

Reference: https://github.com/hboetes/mg/issues/7
2022-07-28 18:19:39 +02:00
Dave Davenport
485e1ed416 Add doxygen check to build.yml 2022-07-28 00:38:43 +02:00
Dave Davenport
2efd6a98a5 [Doxy] Fix the doxygen check and some warnings. 2022-07-28 00:23:21 +02:00
Dave Davenport
fb24fc0999 Add a warning list and append it to the message box. 2022-07-27 23:44:56 +02:00
Dave Davenport
952aaae295 [DMenu] Fix completion with multi-select 2022-07-26 22:12:20 +02:00
Dave Davenport
f3064e0fee [Script] Add new-selection option.
Allow you to select an entry (based on view, so might not work in combi
mode).

fixes: #1248
2022-07-24 01:08:24 +02:00
Dave Davenport
d20926abab [window] Add an option to hide active window.
fixes: #1336
2022-07-24 00:52:13 +02:00
Dave Davenport
5a5d333fdf [dmenu] Fix missing - in find_arg 2022-07-23 23:25:37 +02:00
Dave Davenport
be6fe8ac61 [Textbox] Remove the dot indicator.
Weird hack from dmenu that dripped through rofi code-base for multi-select.
Change it so it is just a prefix to the string of ☐ and ☑.
2022-07-23 20:21:00 +02:00
Dave Davenport
7bd77684db [Textbox] Fix multi-select dot placement. 2022-07-23 00:55:59 +02:00
Dave Davenport
0e90fb065f [Build] Fix some compile warnings. 2022-07-23 00:28:55 +02:00
Dave Davenport
820b19e09a [Doc] Fix example. 2022-07-21 21:53:09 +02:00
Dave Davenport
5a64a1783b [Doc] Fix typo in release notes. 2022-07-21 21:51:10 +02:00
Dave Davenport
5eafdc4b06 [Doc] Update releasenotes. 2022-07-21 21:48:53 +02:00
Dave Davenport
fff40131ae Update releasenotes 2022-07-20 20:12:04 +02:00
Dave Davenport
af976c3779 [XCB] Add a flag to enable work around for #611.
In issue #611 there is a workaround implemented for an issue within
xserver: https://bugs.freedesktop.org/show_bug.cgi?id=104323#c1,
https://gitlab.freedesktop.org/xorg/xserver/-/issues/300.
With a latest update in xkeyboard-config this workaround breaks rofi,
see #1642 and
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/341.

This commits disabled this work-around (can be re-enabled with
-xserver-i300-workaround flag).

Hopefully this restores correct rofi functionality.

issue: #611 #1642
2022-07-19 15:50:42 +02:00
Dave Davenport
59e9b77a2e [Doc] Update releasenotes, move section in manpage. 2022-07-16 13:33:13 +02:00
Dave Davenport
52f587a191 [IconFetcher] Add support for font rendering as icon.
Issue: #1132
2022-07-16 13:13:29 +02:00
Dave Davenport
386877dd22 [Theme] Add enabled property with env support. 2022-07-15 23:28:57 +02:00
Dave Davenport
c000e1a9a2 [ReleaseNotes] Add some more text. 2022-07-10 21:05:53 +02:00
Dave Davenport
f36b056b74 [ReleaseNotes] Add first version release note for 1.7.4. 2022-07-10 20:41:21 +02:00
Dave Davenport
daf3127d3a [Script] Add keep-selection flag that keeps the current selection.
Fixes: #1064
2022-07-09 14:12:28 +02:00
Dave Davenport
96027decd9 [Debug] Add a '-log' flag. 2022-07-08 22:53:07 +02:00
Dave Davenport
f3634d4ff3 [XCB] Try to correct for rotated monitors. 2022-07-08 22:04:06 +02:00
Dave Davenport
4d8f733033 [Doc] Add rofi-dmenu to see also in rofi 2022-07-04 08:29:39 +02:00
Dave Davenport
c37186a911 [Options] explicitely mark offset deprecated. 2022-07-02 20:55:16 +02:00
Dave Davenport
c6456d2c1b [DMenu] Fix 'loading' overlay. 2022-06-29 16:09:56 +02:00
Dave Davenport
670a2445f4 [Window] Small fix avoiding unneeded icon reloads. 2022-06-28 20:58:11 +02:00
Dave Davenport
ceb2b9d295 [Modes] Support icons off multiple icons. 2022-06-27 20:52:12 +02:00
Dave Davenport
9c18aaef22 [View] Add icon-current-entry widget. 2022-06-27 17:09:21 +02:00
Dave Davenport
8ee05a718e [View] Add textbox-current-entry widget. 2022-06-27 16:56:59 +02:00
Dave Davenport
3c6fc083f2 [View] Don't crash when element-textbox does not exists. 2022-06-27 14:16:27 +02:00
Dave Davenport
c638dc8e97 [Doc] Update rofi-script with ascii manpage as see also. 2022-06-18 14:15:39 +02:00
Dave Davenport
7b234ff44e [Script] Fix stupid typo in memory allocation. 2022-06-13 13:27:07 +02:00
Dave Davenport
40ecfcd1f1 [Script] Print list of user scripts in -h 2022-06-12 17:49:04 +02:00
Dave Davenport
ffa1d11e3c [Script] Look into ~/.config/rofi/scripts/ for user scripts. 2022-06-12 15:22:56 +02:00
Dave Davenport
af5e7a4ca3 [DMenu|Script] Update manpage with new option. 2022-06-06 11:34:49 +02:00
Dave Davenport
b676dfe8ad [DMenu|Script] Allow theme element updates from script. 2022-06-06 11:34:49 +02:00
Dave Davenport
c7776ce9b7 [Theme] Improve error mesg on failed variable. 2022-06-01 16:51:48 +02:00
Dave Davenport
b891ffa2b3 [Textbox] Try to fix pango alignment 2022-05-30 19:21:31 +02:00
Dave Davenport
3376db96bb [filebrowser] Bind kb-accept-custom-alt to dir up. 2022-05-27 17:24:35 +02:00
Dave Davenport
69387d6336 [Textbox] Set pango align based on horizontal-align 2022-05-27 11:10:13 +02:00
Dave Davenport
4f3adefeda Remove unused file. 2022-05-26 21:12:03 +02:00
Dave Davenport
3958f68ba4 [Build] Fix make based build with desktop file and icons. 2022-05-25 18:21:27 +02:00
Dave Davenport
72a632bef5 Add desktop files as per complaint.
A desktop file for theme-selector and rofi itself.
2022-05-25 17:52:14 +02:00
Dave Davenport
11875f7e69 [Build] Add artifact 2022-05-25 01:17:32 +02:00
Dave Davenport
d799c322b7 [Build] Add check to dependencies, so more tests run. 2022-05-25 01:06:12 +02:00
Dave Davenport
31c5f6b0f3 [Build] Try sr.ht build system 2022-05-25 00:40:17 +02:00
Dave Davenport
f583641914 More cleanup of unused data. 2022-05-24 23:40:43 +02:00