Commit graph

3435 commits

Author SHA1 Message Date
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
1a1dc7282f [Doc] Fix typo 2021-08-17 18:23:35 +02:00
Dave Davenport
e957927294 [Doc] Add new feature to releasenote. 2021-08-17 18:18:35 +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
19dfb67606 [Doc] Update list spacing release notes. 2021-08-17 17:30:43 +02:00
Dave Davenport
7e1ed3794a [Doc] Add more examples to the changelog. 2021-08-17 17:27:28 +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
a3b9604b3e [Theme] Add iggy theme. 2021-08-17 12:04:37 +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
4bd370dd1a [Doc] Update release note with gif. 2021-08-16 21:03:22 +02:00
TheoryToE
a9c95b773f
Fixed dead link on REDAME for rofi-themes manpage (#1371) 2021-08-15 20:02:07 +02:00
Dave Davenport
4c9be03ab2 [DOC] More textual updates to the release notes. 2021-08-15 15:40:29 +02:00
Dave Davenport
46889ee543 [DOC] More releasenotes updates. 2021-08-15 15:15:53 +02:00
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