Dave Davenport
0b83ab96ce
[Theme] double inheritance integer fallback fix
2021-08-27 00:18:14 +02:00
Dave Davenport
e4d5c10e47
[Theme] Try to fix inheritance (2nd attempt).
2021-08-26 23:34:07 +02:00
Dave Davenport
acb1979f10
[Theme] Undo part of default theme changes, always pick build-in
2021-08-24 18:19:25 +02:00
Dave Davenport
dec5c103dc
[Theme] Ship default theme separately.
2021-08-24 17:17:00 +02:00
Dave Davenport
3c8ca2390d
[main] Try to fix default theme loading.
...
* Add more debug output on failing to load theme.
* Don't load default theme, if empty theme is explicitly loaded.
2021-08-23 22:57:39 +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
29abc052be
[RofiIconFetcher] Remove stray debug printf.
2021-08-18 09:26:08 +02:00
Dave Davenport
954fc728b2
[Cleanup] Using clang-tidy
2021-08-18 01:16:45 +02:00
Dave Davenport
3a1b768bf4
[Cleanup] clang-tidy rofi-icon-fetcher.c
2021-08-18 00:32:04 +02:00
Dave Davenport
48de8e5ff8
[Cleanup] clang-tidy view.c
2021-08-18 00:29:24 +02:00
Dave Davenport
24ce72c98a
[Cleanup] clang-tidy rofi.c
2021-08-18 00:25:54 +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
Dave Davenport
411f09f4d8
[Rofi] Clear old theme before loading new one on -theme argument.
2021-08-17 16:43:45 +02:00
Dave Davenport
18e118a250
[Theme] Fix inheritance copy paste error.
2021-08-17 11:21:07 +02:00
Dave Davenport
47f26ca2f1
[IconFetcher] Look for images in theme directories.
2021-08-17 11:05:03 +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
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
Dave Davenport
c4a156fb89
[Icon] Add a squared option.
2021-07-14 17:29:38 +02:00
TonCherAmi
c1ff6baecd
[FileBrowser] Add option to group directories ahead of files. ( #1352 )
2021-07-10 23:58:27 +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
370287c2ca
[Theme] Remove listview backwards compatibility hack.
2021-07-02 18:06:06 +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
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
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
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
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
3950204760
[DRun] Do not use show-icons options, handle no-icon desktopfile better.
2021-06-09 01:20:36 +02:00