Commit graph

1646 commits

Author SHA1 Message Date
Dave Davenport
e01aefd773 Update shipped themes. 2017-09-09 14:50:23 +02:00
Dave Davenport
af369bd244 Update default theme and converter. 2017-09-09 12:07:11 +02:00
Dave Davenport
28ca3cb510 Fix tests. 2017-09-07 20:03:21 +02:00
Dave Davenport
acfc07a63e Fix Inherit keyword 2017-09-07 13:46:09 +02:00
Dave Davenport
72f050e2fc Move enabled into widget. 2017-09-07 08:52:30 +02:00
Dave Davenport
2a5cb6f621 Alias 'color' property name to 'text-color' 2017-09-07 08:35:09 +02:00
Dave Davenport
7c1ecb4707 Add support for multiple selectors. #dummy0, dummy1 {} 2017-09-06 23:11:03 +02:00
Dave Davenport
ae452271ac Fix sizing of listview rows. 2017-09-06 22:21:48 +02:00
Dave Davenport
0824a1e48c Inherit again, for modifiers. 2017-09-06 22:19:00 +02:00
Dave Davenport
6b43fed3aa use color, background-color and border-color 2017-09-06 19:02:09 +02:00
Dave Davenport
4dc9f29512 Add (untested) support for inherit keyword. 2017-09-06 18:26:04 +02:00
Dave Davenport
50998b8f04 Flatten hierarchy, don't inherit by default.
* add keyword inherit to language parser and theme structure.
2017-09-06 10:03:44 +02:00
Dave Davenport
9b0a430fd4 Indent. 2017-09-05 13:52:44 +02:00
Dave Davenport
ba296f9210 Add ch as size unit. 2017-09-05 13:52:21 +02:00
Dave Davenport
2b8179b684 Try to match line-padding in theme converter. 2017-09-04 22:46:50 +02:00
Dave Davenport
73827ce680 Only dump configuration changes, not theme in -dump-config. 2017-09-04 16:46:06 +02:00
Dave Davenport
508e39c3f3 Set cursor to end of input field.
Fixes: #662
2017-08-29 10:40:24 +02:00
Dave Davenport
3c52f15140 Move more enums to rofi-types.h 2017-08-18 11:38:54 +02:00
Dave Davenport
686be5856c Move PropertyType into rofi-types header and add check for names pairs. 2017-08-17 19:04:01 +02:00
Dave Davenport
b9ae0783c2 [Script] Parse the command as a commandline.
Fixes: #650
2017-08-14 21:33:12 +02:00
Dave Davenport
8a99f0b7bd [Script] Execute script + argument direction, do not pass run-command.
Fixes: #650
2017-08-14 17:28:25 +02:00
Dave Davenport
604779c444 Change order evaluation to make CPPCheck happy.
Code was not wrong.
2017-08-08 09:40:38 +02:00
Dave Davenport
a25a21c65e Improve error message a little when bindings collide.
Issue: #640
2017-07-25 17:09:53 +02:00
Dave Davenport
474e3b3d63 Slight tweak to default theme 2017-07-24 16:58:03 +02:00
Dave Davenport
fd146b0519 [DMenu] Do not show the Loading.. overlay when skipping loading stage. 2017-07-17 21:42:59 +02:00
Dave Davenport
2060059c46 [DMenu] If input is stdin and from a tty, do not read data.
- This stops rofi from blocking the whole desktop.
2017-07-17 15:01:02 +02:00
Dave Davenport
bca01f389d [DMenu] make rofi obey the dmenu -w flag.
- This is a dirty hack that needs to be done better in next release.
2017-07-13 08:21:15 +02:00
Dave Davenport
7b57985203 Add wid:{window id} to monitor option.
- By specifying the window id, rofi will assume that window to be the
monitor (for placing.)
 - syntax: wid:{monitor id}

Issue: #632
2017-07-12 12:27:45 +02:00
Dave Davenport
5996303c08 Convert old location format into new, so we are compatible again.
Fixes: #630
2017-07-11 19:41:24 +02:00
Dave Davenport
b5d6751ce3 [Dmenu] Allow multi-select in no-custom mode in dmenu.
Fixes: #596
2017-07-09 13:32:56 +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
Dave Davenport
ef4a171fca Put Xfwm4 on the WM list that needs extra desktop change.
Work-around that makes sure desktop gets switchs when setting active
window.

Fixes: #624
2017-07-05 21:30:29 +02:00
Dave Davenport
d82231d0df Correctly switch to other RofiViewState.
* Triggers when error message occurs on handling action.
 * Reproducable with broken drun file. (give a non-existing path)
2017-07-05 00:14:28 +02:00
Quentin Glidic
727e3dc51a meson: Actually define TIMINGS if needed (#621)
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-04 15:35:49 +02:00
Dave Davenport
c7e8776c78 Add try exec test (#620)
* Add try exec test

* [DRun] Free after g_find_program_in_path
2017-07-04 13:38:26 +02:00
Dave Davenport
1d881a37d4 Merge remote-tracking branch 'origin/master' into next 2017-07-03 09:28:44 +02:00
Dave Davenport
7e1c02b04c [OldTheme] Re-add the padding/bw option. 2017-07-03 09:23:03 +02:00
Dave Davenport
5f21ab80a8 Do not do an expand path on Exec field of desktop file. (#618)
Fixes: #617
2017-07-02 19:34:31 +02:00
Dave Davenport
3590b95046 Do not do an expand path on Exec field of desktop file.
Fixes: #617
2017-07-02 11:33:02 +02:00
Dave Davenport
fcd9878a3b [Config] Remove stray printf, add compiler hints. 2017-06-27 09:28:33 +02:00
Dave Davenport
193dfa16bc [Config] quick hack to support lists in rasi configuration{} block. 2017-06-27 09:15:55 +02:00
Dave Davenport
5eb9fad4e3 [Helper] Fix render return success, not fail. 2017-06-26 20:24:33 +02:00
Dave Davenport
cf7d0866d5 [Helper] Add basic error checking to svg loading code. 2017-06-26 20:16:20 +02:00
Dave Davenport
3556f65198 Update DPI value once auto-detected. 2017-06-26 20:14:51 +02:00
Dave Davenport
ee9f5f71c1 [TextBox] Remove dead (commented code) 2017-06-26 20:14:31 +02:00
Dave Davenport
03d6ac4de3 Run indenter. 2017-06-25 20:25:17 +02:00
Dave Davenport
ea4328b921 [DRun] Add a small thread-pool for fetching icons. 2017-06-25 20:24:26 +02:00
Quentin Glidic
b9097dc488
drun: Preload icon themes
This will allow multi-thread icon loading.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-25 20:12:35 +02:00
Dave Davenport
e28b038d62 Check user data dir when looking for theme.
- set default textbox color to black.
2017-06-22 08:54:29 +02:00
Quentin Glidic
8f8c43e50d
xcb: Support back some weird X11 feature
Namely, key redirects, that play with the modifiers state at the
KEY_PRESS level.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-22 08:35:21 +02:00