Dave Davenport
9f95640d80
[DOC] Small updates to rofi release notes.
2021-08-15 13:07:01 +02:00
Dave Davenport
31ea80e7f3
Start working on release notes for 1.7.0.
2021-08-14 21:24:58 +02:00
Dave Davenport
9f777a7a7b
[Themes] Fix inheritance with state set.
...
Update theme.c and included themes.
This should allow you to set `element-text { text-color: inherit;
background-color: inherit;}` to fix old themes.
2021-08-14 13:58:21 +02:00
Dave Davenport
0352e99dea
Update manpage
2021-08-14 13:04:42 +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
Ian C
69c6004681
fix typo ( #1355 )
2021-07-29 20:46:23 +02:00
Danny Colin
3309d20ce0
Speficy that horizontal/vertical align is a number between 0 and 1. ( #1357 )
2021-07-29 20:46:09 +02:00
Dave Davenport
c4a156fb89
[Icon] Add a squared option.
2021-07-14 17:29:38 +02:00
Dave Davenport
87c60e75de
Add file-browser to default config.
2021-07-11 16:37:04 +02:00
TonCherAmi
c1ff6baecd
[FileBrowser] Add option to group directories ahead of files. ( #1352 )
2021-07-10 23:58:27 +02:00
Dave Davenport
b7dfb423a1
[Config] Small fix config dump fix.
2021-07-10 00:28:21 +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
0c3d24136d
[Listview] Fix wrong widget name.
...
Fixes : #1349
2021-07-08 15:55:38 +02:00
Dave Davenport
382a497c4e
[Test] Fix some of the tests.
2021-07-06 23:49:17 +02:00
Dave Davenport
dc101975aa
[Doc] Clarify and update run/drun alt/custom binding.
2021-07-05 16:47:24 +02:00
Dave Davenport
6f28a171ac
[DOC] Update rofi-theme(5) for github highlighting
2021-07-02 18:17:25 +02:00
Dave Davenport
a230f193fb
[Doc] Update element drawing.
2021-07-02 18:09:41 +02:00
Dave Davenport
370287c2ca
[Theme] Remove listview backwards compatibility hack.
2021-07-02 18:06:06 +02:00
Dave Davenport
f5aa88acfd
[Doc] Update rofi theme manpage with some examples and fixes.
2021-07-02 18:01:46 +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
42dde494c1
[Config] Remove some debug printfs.
2021-06-27 12:23:20 +02:00
Dave Davenport
067a3b82ad
[Config system] Add a bit of a hack to auto-add commandline options.
...
For new config system.
2021-06-27 12:21:26 +02:00
Dave Davenport
33248f511c
[View] Don't refilter when no mode is selected.
2021-06-27 11:54:57 +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
3ec0ceabd0
[Authors] Add Nick for his nice fixes.
2021-06-24 12:46:19 +02:00
Dave Davenport
a1a0ed68f2
[Test] Fix tests.
2021-06-16 00:11:57 +02:00
Dave Davenport
824b21b4fb
[doc] small textual tweak
2021-06-15 20:10:04 +02:00
Dave Davenport
f38f832405
[Widget] Fix default scaling.
2021-06-15 19:14:01 +02:00
Dave Davenport
6e2584ffc8
[Doc] Add some header documentation.
2021-06-15 17:22:39 +02:00
Dave Davenport
4c1a74e15e
[Widget] Add scaling option to background-image.
2021-06-15 17:18:34 +02:00
Dave Davenport
f72bae02bb
[DRun] Add advanced parse-user and parse-system config option.
2021-06-15 16:19:57 +02:00
nick87720z
74ef588d4e
Fix regression in commit e52094ee7a
( #1317 )
...
I forgot about line style (dash) support which had to be tested too.
2021-06-15 14:55:44 +02:00
Dave Davenport
1cac2c86f6
[Test] fix num keybindings in test.
2021-06-15 14:44:22 +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
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
3307d62c55
[Doc] Add new -display-{mode} method to manpage.
2021-06-15 14:04:34 +02:00
Dave Davenport
b541bf55bc
[Test] Fix meson test, remove gif dep from meson.
2021-06-15 12:55:03 +02:00
Dave Davenport
43957321d4
[Test] meson build updates.
2021-06-15 12:45:02 +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
828aaa231a
[Theme] Add angle support to linear-gradient.
2021-06-14 16:04:15 +02:00
Dave Davenport
5c5428bd11
[Theme] Add direction support to linear-gradient.
2021-06-14 15:14:41 +02:00
Dave Davenport
7cf0385681
[Theme] Support multiple stops in linear-gradient
...
* Fix anchor dumping
* Fix image dumping
2021-06-13 22:57:35 +02:00
Dave Davenport
beccfe4178
[Widget] with background image, draw background-color first.
2021-06-13 21:41:31 +02:00
Dave Davenport
1e25ae03b7
[Widget] Extend the pattern when loading, good for bg patterns.
2021-06-13 21:35:42 +02:00
Dave Davenport
a0b8a05315
[Widget] Change scaling of background-image
2021-06-13 20:59:28 +02:00
Dave Davenport
2c325b3f09
[Widget] Add initial support for background-image.
...
* Supports url("path") and linear-gradient(start,stop).
2021-06-13 20:50:25 +02:00