Commit graph

1657 commits

Author SHA1 Message Date
Dave Davenport
0596f7c1a1 Correctly center and scale image, even if not rectangular 2017-09-21 19:27:04 +02:00
Dave Davenport
99f2a1a9bf Add @theme import command, that resets the current theme. 2017-09-18 17:48:13 +02:00
Dave Davenport
852d80fee3 Change WMQuirk logic
- Default is switch to desktop then select window.
- 2 quirks:
  - pango names.
  - do not switch.
2017-09-17 21:40:36 +02:00
Dave Davenport
ff4946edaf Cleanup compiler warnings.
- Unused var.
- Missing switch statement.
- Change fallthrough for older compilers.
2017-09-17 18:17:26 +02:00
Dave Davenport
96d8a23fde Fix crash on destroying script modi 2017-09-10 20:55:45 +02:00
Dave Davenport
f25288fc47 Merge remote-tracking branch 'origin/next' into bendemcss 2017-09-10 20:24:25 +02:00
Dave Davenport
19cc794018 Allow combi modi to use scripts from the modi list.
fixes: #668
2017-09-10 20:09:15 +02:00
Dave Davenport
56c373bffc Allow combi modi to use scripts from the modi list.
fixes: #668
2017-09-10 20:06:01 +02:00
Dave Davenport
a442dda19c Fix combi modi crashing on dynamic list sizes. 2017-09-10 19:55:14 +02:00
Dave Davenport
ec25204924 [RUN] Fix filter duplicates 2017-09-10 19:50:45 +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
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