Commit graph

584 commits

Author SHA1 Message Date
Dave Davenport
5d6876a516 [Theme] Add inherit highlight on default theme. 2020-09-06 12:07:57 +02:00
Dave Davenport
bd332e7b7e [Doc] Add small (Extra) highlight section to rofi-theme 2020-09-06 11:59:41 +02:00
Dave Davenport
8c51b9ec3e [Doc] update rofi-theme(5) with mm size. 2020-06-09 22:57:02 +02:00
Dave Davenport
1342b733af [Script] Add 'info' row option, that gets passed to ROFI_INFO environment. 2020-05-24 19:10:49 +02:00
Dave Davenport
135ff94a79 Fix XDG_USER_CONFIG_DIR to XDG_CONFIG_HOME. 2020-05-23 15:27:15 +02:00
John Beard
0a33aadd8b
Man pages: document the bang feature (#1126) 2020-05-12 21:12:45 +02:00
John Beard
3df5a616cd
Manpage tweaks for rofi.1 (#1120)
* Man pages: Add version and dump-* options

* Man pages: Add -display and -markup to rofi.1

* Man pages: Use the metavariable in -async-pre-read

* Man pages: document the dmenu -w option

* Man pages/help: correct -only-match description

* Man pages/help: -normal-window does not only apply in dmenu mode

* Man page: modi are lowercase

Entering the modi as the man page had them would not work

* Man page: minor formatting/grammar tweaks

* modi and command names are `backticked`
* rofi is **bold**
* other man pages are **bold(1)**
* Pango is capitalised according to their own website.
* Option arguments are *like1*,*this2*

* Man pages: fix Pango markup link
2020-05-10 15:44:29 +02:00
Dave Davenport
86cdcae55b [Window] Update manpage and --help. 2020-04-29 12:59:49 +02:00
Dave Davenport
151547a99e
[Themes] add calc() support to distance in theme format. (#1105)
* Initial test to allow math in distances.

Support + and -
Needs spaces around + and -.

* [THEME] Fix printing theme with math in distance.

* [Theme] use calc() syntax.

* [Theme] Add * and /  to calc().

* [Theme] Fix the precedense ordering in parsing. Also avoid making copies.

* [Theme] Don't print unneeded ().

* [Theme] Add modulo to calc.
2020-04-24 19:54:08 +02:00
Dave Davenport
906b520daf [Script] Add no-custom mode. 2020-04-22 23:41:25 +02:00
Dave Davenport
b86109295d Update doc/readme to be markdown. 2020-04-20 11:28:33 +02:00
Dave Davenport
67b6c8bcc8 Update manpage and manpage build instructions 2020-04-20 11:27:06 +02:00
Dave Davenport
4689e6ee6d Clearify system configuration file loading process. 2020-04-19 12:10:14 +02:00
Dave Davenport
e7554da627 Parse XDG_CONFIG_DIRS for default configuration file. 2020-04-19 11:55:53 +02:00
Dave Davenport
3e64e4422d [DMenu] Implement -keep-right
Fixes: #1089
2020-04-16 23:31:43 +02:00
Dave Davenport
7587149950 [Script] Update example and doc. 2020-04-07 13:20:16 +02:00
Dave Davenport
bacecf3044 [Script] Add environment variable to indicate state.
* ROFI_RETV shows the state rofi was in before calling rofi.
2020-04-05 12:56:33 +02:00
Dave Davenport
c1ac4804c2 [Script] Small update manpage rofi-script. 2020-04-01 14:14:13 +02:00
Dave Davenport
fb290f9cde [Script] Update manpage with delim option. 2020-04-01 14:00:48 +02:00
Dave Davenport
aa07b8ef94 [Script] Add option to set deliminter and example script.
Issue: #1041
2020-04-01 13:58:01 +02:00
fogine
5b8aebad3e
add missing -eh (line height) option to man pages (#1080) 2020-03-31 18:07:43 +02:00
Dave Davenport
cca9fa3372 Update manpage -selected-row option. 2020-03-29 12:58:28 +02:00
Sebastiaan Lokhorst
1e4409c6b3
Remove gnome-terminal from rofi-sensible-terminal (#1074)
gnome-terminal is no longer compatible, as noted in #1003
2020-03-20 10:01:11 +01:00
Sidou
f8c3d694bb
man: Fix typo (#1068)
Removed a duplicate word "the" on rofi.1.markdown.
2020-03-14 17:00:10 +01:00
asymmetric
e8eecae4c4
man: update default matches for desktop files (#1061)
Taken from [`config.c`](d777d0ed4b/config/config.c (L120)).
2020-02-21 15:32:52 +01:00
Dave Davenport
eb12ff2375 Add missing compiled manpage. 2020-02-02 21:34:14 +01:00
Dave Davenport
bc2e1549fb Add rofi-script manpage, add meta option support to dmenu.
update ronn to go-md2man
2020-02-02 17:21:21 +01:00
Dave Davenport
a422b33e99 Update manpage with drun-cache. 2020-01-26 15:48:17 +01:00
Dave Davenport
a35a898816 [DRun] Add desktop cache
Add a desktop cache file. Usable for system with slow filesystems.

* -drun-use-desktop-cache
* -drun-reload-desktop-cache

Fixes: #1040
2020-01-26 12:47:04 +01:00
Dave Davenport
f8be880b45 Add total num + filtered num to default theme. 2020-01-16 19:12:03 +01:00
Dave Davenport
b44b5e8d16 Add -upgrade-config option.
* Print warning when old-style configuration is used.
* Add -upgrade-config option.
2020-01-02 12:00:44 +01:00
Dave Davenport
40c1476855 [Listview] Fix drawing issue 2019-12-29 20:33:34 +01:00
Dave Davenport
e6bed0e5d3 [Listview] Add support for showing the (keybindable) index.
fixes: #1050
2019-12-29 19:04:29 +01:00
Dave Davenport
afda9cbb13 [Doc] Update theme manpage with import. 2019-12-29 17:30:53 +01:00
Dave Davenport
0a4426af29 Add placeholder to default theme. 2019-12-26 14:39:51 +01:00
Dave Davenport
f3bb043df0 [Textbox] Add placeholder.
Fixes: #1020
2019-12-26 14:24:10 +01:00
Dave Davenport
2c56e5ca33 [DOC] Update theme documentation with @media. 2019-12-25 23:10:46 +01:00
Dave Davenport
e9dde8e2ac [Doc] Update rofi-theme documentation.
allow `content` as alias to `str` on textbox.
2019-12-14 10:59:10 +01:00
Dave Davenport
5a457022e9
Update rofi-theme.5.markdown 2019-11-18 20:38:38 +01:00
Dave Davenport
c1378e4c60 [View] Add two widgets num-rows/num-filtered-rows
Issue: #1026
2019-11-07 11:49:45 +01:00
Simon Legner
5f57519940 Fix typo "Csutom" (#1025) 2019-11-03 20:06:48 +01:00
Dave Davenport
aeecf34c27 [Window] Add thumbnail of windows as option. 2019-10-17 21:19:19 +02:00
Dave Davenport
3def8a6418 [CI] Fix tests. 2019-09-30 10:17:48 +02:00
Dave Davenport
f28cf0207e Update rofi-theme manpage with button and icon feature. 2019-09-20 15:01:34 +02:00
Dave Davenport
aa35ecc40a [DRun] Add keywords to match and printing. 2019-08-20 22:51:07 +02:00
Dave Davenport
85279323e6 Set window title based on mode name.
For dmenu allow customize with `-window-title`.

Fixes: #969
2019-08-10 12:02:49 +02:00
Dave Davenport
f896146217 [DRUN] Add option to only show desktop files in certain categories
closes: #817
2019-08-09 19:33:23 +02:00
Dave Davenport
a1362010c3 Fix default theme. 2019-08-08 23:35:42 +02:00
Dave Davenport
618d1396ee
Issue949 (#999)
* [Issue 949] Add initial split of listview row into widget tree.

Allowing better themeing.

* Remove unneeded code from textbox. allow dis. icons.

* Fix typo.

* Fix wrong widget offset in textbox.

* Fix mouse handling

* [ListView] Add 'fixed-columns' boolean option.

* [Listview] Fix inversion of option.

* [ListView] remove commented old code.

* [Textbox] Handle null pointer on desired width.

* [Listview] Fix crasher with fixed_columns and more max elements requested items.

* Add hack to get backwards compatibility for new listview structure.

* Fix the scrollbar test.

* Fix tests for theme update..
2019-08-08 20:02:20 +02:00
Kenneth Ho
be21fbae5d add pythonic rows selection to -a and -u (#985) 2019-07-02 21:27:46 +02:00
Dave Davenport
45811d99ca [Manpage] Fix example that uses external tools out2html and tty-pipe. 2019-06-16 19:47:04 +02:00
Dave Davenport
361ce7d6fc Add matching-negate-char character.
Fixes: #937
2019-05-19 19:15:54 +02:00
Dave Davenport
52c5592a6f [ListView|Textbox] Add user-settable ellipsize mode.
Fixes: #917
2019-05-04 11:04:54 +02:00
Dave Davenport
e7da00dbff [DMenu] Add format option to output string stripped from pango markup. 2019-05-04 10:24:59 +02:00
Dave Davenport
7acd7532da [Manpage] Add overlay as widget to manpage. 2019-04-16 12:56:28 +02:00
Dave Davenport
5b96be66ae [View] Move overlay into the theme system instead of weird addon.
It is now a child in the inputbar.

Fixes: #950
2019-04-16 12:52:53 +02:00
Dave Davenport
fadfae5433 [Window] Fix default value and help comment. 2019-03-29 11:24:10 +01:00
Quentin Glidic
08a80b4448
meson: Drop unnecessary "install: false" arg from configure_file()
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-03-26 12:25:28 +01:00
Dave Davenport
6fffe427c4 Change sidebar in theme to mode-switcher.
Fixes: #930
2019-03-19 22:45:10 +01:00
Dave Davenport
df10eb2735 Add note to manpage about new config format filename.
Fixes: #926
2019-03-04 17:13:23 +01:00
Dave Davenport
9af5cac65b Update test for added cache-dir config option. 2019-02-08 21:13:01 +01:00
Dave Davenport
52204a527c Add option to change location of cache dir.
-cache-dir

Fixes: #769
2019-02-08 20:43:53 +01:00
Dave Davenport
40da1b25e2 [Theme3.0] Change reference to use the CSS like var() syntax.
Supports defaults var(name, default); var(name);
Where default can be another property.
(https://www.w3schools.com/css/css3_variables.asp)

This deprecates the @name syntax.

Fixes: #876
2019-01-29 17:56:45 +01:00
Quentin Glidic
3dfbf1c631
[Theme] Fix transparency property values
An old sed change "background" to "background-color".

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-01-27 13:25:06 +01:00
Dave Davenport
cac2eb1a7f change default alt. window command to bring to current desktop.
Xkill is duplicate of shift-del (build in close). This is more useful.
Fix test-case.

Fixes: #902
2019-01-21 18:09:34 +01:00
Dave Davenport
41e15539b4 Fix modi->mode when refering to singular 2019-01-12 23:33:46 +01:00
Dave Davenport
76273798e4 [MANPAGE] Add comment that only fields in -drun-match-fields can be used in format string.
Fixes: #892
2019-01-11 21:56:31 +01:00
Dave Davenport
1b605ec188 [MANPAGE] Mention that pango markup can be used for drun-display-format.
Fixes: #896
2019-01-11 15:03:24 +01:00
Dave Davenport
6b96ae123b Add an option to change the matching negation character.
Fixes: #877
2018-12-14 16:58:26 +01:00
Dave Davenport
2624cb9c9b Update install instructions. Try to improve manpage.
Fixes: #871
2018-11-06 23:42:26 +01:00
Dave Davenport
6146d25b36 [Regression test] Fix new drun-display-format field. 2018-10-17 23:17:46 +02:00
Dave Davenport
76ceac1f20 [DRUN] Add drun-display-format. 2018-10-17 23:02:50 +02:00
Dave Davenport
795a0e085d Fix typo in manpage -sort-method --> -sorting-method 2018-09-08 23:44:18 +02:00
Dave Davenport
4538303be6 [DRUN] Add option to show actions in drun.
Fixes: #836
2018-07-28 11:12:11 +02:00
Patrick Collins
5da46d6f7b fix typo and grammar (#832)
Therefor -> Therefore
plural/singular
. But -> , though
2018-07-12 13:33:13 +02:00
Dave Davenport
dd0ae5bda0 [Doc] Add enviroment property to manpage 2018-07-09 12:40:14 +02:00
Dave Davenport
a92bcc2818 [Theme] Change window layout for error dialog 2018-06-14 11:16:32 +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
bdb6abef4a
Sorting cleanup (#816)
* Add `-sorting-method` option remove weird -sort-levenshtein.

* Fix test for updated cmdline options.

* Update manpage
2018-06-13 11:57:23 +02:00
Dave Davenport
d4cfb5bb4b Fix crash in error dialog and tests. 2018-06-12 09:46:24 +02:00
Dave Davenport
c96ebfc2de Re-add icon-theme option. 2018-06-09 22:17:32 +02:00
Dave Davenport
3d20ecb4ba [Theme][Doc] Update some color key names. 2018-06-02 15:19:12 +02:00
Patrick Motard
d68c4e182c [doc] theme docs not using right key for bg color (#795)
According to all of the official themes, background color is set
using the key `background-color`, not `background`. This commit
fixes references to this key in the themes markdown documentation
to use `background-color` instead.
2018-06-02 15:14:53 +02:00
Diki Ananta
0ccfef4289 [Doc] Fix border in layout structure 2018-02-19 14:18:23 +01:00
Egor Zvorykin
dab263b07d Fix several typos in theme manpage 2018-02-03 14:09:09 +03:00
Dave Davenport
1aa79a9a06 [DRun] Set the default for match fields in the config to the correct value. 2017-12-31 14:13:48 +01: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
Dave Davenport
30b8e0ef43 Small manpage tweak 2017-12-12 22:03:19 +01:00
Rasmus Steinke
2cbbb1606f include $XDG_CONGIG_HOME/rofi/themes 2017-12-10 23:18:20 +01:00
Dave Davenport
94aa4a9b7c Fix typo (position->location) in rofi-theme manpage. 2017-12-08 10:56:41 +01:00
Rasmus Steinke
9281c01b3b fix formatting 2017-11-29 21:47:22 +01:00
Edward Betts
79adae77d7 Correct spelling mistakes. (#722) 2017-11-23 18:41:52 +01:00
Dave Davenport
eb3f2683e7 Regenerate manpage that fixes typo (double >>). 2017-11-18 14:41:37 +01:00
Cory Kennedy-Darby
7fc7be9ad4 Update rofi.1.markdown (#720)
Fix typo
2017-11-18 12:40:05 +01:00
Dave Davenport
4ac428bace [Combi] Add hide prefix option. 2017-11-07 20:03:42 +01:00
Dave Davenport
74106921f4 Install rofi-theme-selector manpage. 2017-11-05 15:28:17 +01:00
Rasmus Steinke
ac91da123c add rofi-theme-selector manpage and mention it in rofi manpage 2017-11-05 14:03:10 +01:00
Dave Davenport
f992e0e21a Add the prompt colon to the default theme.
- Fix dumping of theme localization of the decimal-point. Force it to
be always a '.'.
2017-11-05 12:56:41 +01:00
Rasmus Steinke
c89bf30d15 add icon theme settings 2017-11-01 22:01:05 +01:00
Rasmus Steinke
d32c6cf84b Reflect changes to widget names, mention "enabled" property 2017-11-01 21:58:07 +01:00
Dave Davenport
ba0acd625f Remove leading # from dump theme and add mesg about rofi dumping it 2017-10-31 19:29:27 +01:00
Dave Davenport
0bb64cf1ad Add extra margin between prompt and entry. 2017-10-31 09:51:00 +01:00
Dave Davenport
96735fc342 Fix test for default theme. 2017-10-25 18:44:04 +02:00
Askrenteam
0dc71fcc00 Added option -name-only to match only desktop entry name with drun (#690)
* Added option -name-only to match only desktop entry name with drun

* fixed indent and xrdump test

* fixed test

* option -drun-match-fields

* option -window-match-fields

* matching fields as static in window/drun + enums for field indexes

* prevent window_mode_parse_fields() from executing twice
2017-10-21 11:18:52 +02:00
Dave Davenport
12e7b67ddd Make -plugin-path commandline flag be read before loading plugins 2017-10-16 18:25:16 +02:00
Dave Davenport
aeb669b175 Fix several mistakes in theme manpage.
Fixes: #688
2017-10-03 20:38:15 +02:00
Dave Davenport
da7ae1ac77 Fix test for new setting 2017-10-03 20:29:27 +02:00
Dave Davenport
7081b56aca Add -sort to manpage.
Fixes: #682
2017-10-03 19:51:27 +02:00
Dave Davenport
3e51631968 Fix test. 2017-09-24 15:56:35 +02:00
Dave Davenport
b50aa7e2e9 Fix tests. 2017-09-18 09:06:40 +02:00
Dave Davenport
d1f9927343 More manpage updates 2017-09-15 10:19:46 +02:00
Dave Davenport
79f6cf2038 Update rofi-theme manpage 2017-09-10 16:09:53 +02:00
Dave Davenport
97467fceff Update small part of doc. set hadle-color on scrollbar in default theme. 2017-09-09 22:09:02 +02:00
Dave Davenport
e01aefd773 Update shipped themes. 2017-09-09 14:50:23 +02:00
Dave Davenport
b24660a204 Fix default theme. 2017-09-09 12:49:40 +02:00
Dave Davenport
4a30d2a507 Fix tests. 2017-09-08 21:57:55 +02:00
Dave Davenport
6dae152e31 Fix tests. 2017-09-04 23:01:37 +02:00
Dave Davenport
651bf11e3b Remove CSS comments. 2017-09-04 22:20:46 +02:00
Dave Davenport
73827ce680 Only dump configuration changes, not theme in -dump-config. 2017-09-04 16:46:06 +02:00
Dave Davenport
9f831b9369 Remove old theme documentation. rofi-themes(5) manpage is now leading. 2017-09-03 15:51:13 +02:00
Dave Davenport
a7cecc0d41 Update manpage. 2017-08-13 20:31:46 +02:00
Marcin Sedlak
bb61970627 Proof read manpages (#645)
* Proof read rofi.1.markdown

Fix typos.
Fix American English consistency.
Fix "command line", "pop up" etc. - separate as nouns and hyphenated as compound adjectives.
Finish at line 169.

* Further proofreading

Same as before.
Additionally, fix one line of whitespace above and below a heading.
up to line 400

* More proof reads

up to line 592

* Finish proofreading

* Minor fixes

* Start proofreading rofi.theme.5.markdown

Fix American spelling.
Make sure **rofi** is bolded.
up to line 16

* Continue proofreading rofi-theme.5.markdown

up to line 452

* Replace latinisms with English phrases

e.g. > for example
i.e. > that is
They slow down the reader, and not everyone knows the correct English equivalent.

* Finish proofreading rofi-theme.5.markdown

* Fix dmenu official/unofficial website info

* Minor fixes

* Minor fixes
2017-08-13 19:19:19 +02:00
Dave Davenport
c4530f97ce Improvements to rofi-theme manpage. 2017-07-26 11:47:47 +02:00
Dave Davenport
0c2c7972e9 Small update to rofi-theme manpage. 2017-07-26 08:55:28 +02:00
Dave Davenport
f876963220 Update theme manpage textbox
- Add missing options. (valign/halign, width, str, font)
2017-07-25 08:25:21 +02:00
Dave Davenport
89c6a0f00b Update rofi-theme manpage
- Add orientation data type.
 - Add layout field to listview.
2017-07-25 08:13:07 +02:00
Dave Davenport
474e3b3d63 Slight tweak to default theme 2017-07-24 16:58:03 +02:00
Dave Davenport
b83f1504d5 Add list format to theme api 2017-07-24 16:26:14 +02:00
Dave Davenport
09ad0e4679 Update theme manpage with more layout documentation. 2017-07-24 14:36:31 +02:00
Dave Davenport
9c640bc07d Add some layout stuff to theme manpage. 2017-07-24 09:57:53 +02:00
Dave Davenport
044a26ffd6 Small update manpage. 2017-07-22 22:14:15 +02:00
Dave Davenport
2e0b973bcf Small updates to manpage 2017-07-22 21:11:46 +02:00
Dave Davenport
138ffc168d Small manpage updates 2017-07-18 09:18:18 +02:00
Dave Davenport
603676e640 Merge remote-tracking branch 'origin/meson/manpage-fix' 2017-07-17 21:38:15 +02:00
Quentin Glidic
d7d239d808
meson: Fix update-manpage target
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-17 10:13:48 +02:00
Dave Davenport
b5a1ba16e2 Add more debug instr. and link to rofi-theme manpage in rofi manpage. 2017-07-17 09:05:05 +02:00
Dave Davenport
f62216fa07 Fix reference help-output test 2017-07-13 08:39:02 +02:00
Dave Davenport
f948c23535 Merge remote-tracking branch 'origin/master' into next 2017-07-06 23:34:32 +02:00
Dave Davenport
37a12d4248 Fix test themes to match new conversion 2017-07-06 20:55:33 +02:00
Dave Davenport
ecc9bcc270 Re-add some of the old theme options, so theme converter use them.
- line margin
 - separator style.
 - fake transparency.
 - line padding.
 - scrollbar width
2017-07-06 18:20:32 +02:00
Rasmus Steinke
1d9d5a6f1c Use png instead of svg for specification.md, since github cannot render svg inline 2017-07-06 17:35:56 +02:00
Dave Davenport
b3caeac38e Update tests 2017-07-03 21:05:03 +02:00
Dave Davenport
32639b75ce [Test] Fix reference file 2017-06-24 13:14:25 +02:00
Quentin Glidic
6e1178c4a8
test: Update reference dump
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-07 12:55:50 +02:00
Dave Davenport
8875118334 Don't popup error dialog, pospone error message. 2017-06-03 16:06:32 +02:00
Quentin Glidic
da3d78ba13
test: Update reference dump
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:35:45 +02:00
Quentin Glidic
135d845790
test: Update reference dump
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:57:45 +02:00
Quentin Glidic
04faad945a
Merge branch 'master' into wip/meson
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:21:57 +02:00
Dave Davenport
dca5caaa47 [Theme] Add small caps options (not working?) 2017-05-22 09:24:05 +02:00
Dave Davenport
a42f4a41fd Fix tests for default theme fix 2017-05-20 15:37:29 +02:00