Commit graph

2708 commits

Author SHA1 Message Date
Dave Davenport
07076d154a Load theme-str after loading fallback themes.
* If no theme loaded, try converting old theme.
 * If still no theme loaded, try default theme.
 * Then load modifications (theme-str option)
2017-06-07 07:53:33 +02:00
Dave Davenport
d33edaf09d [View] Do not set rofi fullheight when num lines eq 0 2017-06-06 17:49:24 +02:00
Dave Davenport
2a18a46b24 [View] Update sidebar buttons when we have no prompt. 2017-06-06 09:40:56 +02:00
Dave Davenport
a399adfa38 [TextBox] Fix centering with large padding 2017-06-06 09:28:36 +02:00
Dave Davenport
27d1da76b1 [TextBox] Fix yalign for cursor and icon. 2017-06-06 09:09:57 +02:00
Michael
e5579cbde0 Fixed typo (#604) 2017-06-05 20:54:35 +02:00
Dave Davenport
5775e80111 Add dmenu theme 2017-06-05 20:31:32 +02:00
Dave Davenport
1efb4dab6c Fix rendering of icons with single font size. 2017-06-04 16:08:34 +02:00
Dave Davenport
e12cf40e54 Change Listview::barview to Listview::layout 2017-06-03 21:46:21 +02:00
Dave Davenport
c29f897d69 Don't inline function that uses alloca. 2017-06-03 21:40:14 +02:00
Dave Davenport
68641a2143 Add new keywords to theme printer 2017-06-03 20:45:16 +02:00
Dave Davenport
9a62bfd172 Run indenter. 2017-06-03 20:35:50 +02:00
Dave Davenport
684211aba4 [View] Remove extra return. 2017-06-03 20:33:30 +02:00
Quentin Glidic
0adc0d7c08
view: Always create textbox with type
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 20:04:21 +02:00
Dave Davenport
a2620745e2 Fix sidebar in stock theme and sidebar button clicking 2017-06-03 19:56:02 +02:00
Dave Davenport
5bc8ea29a5 Fix converting x,y to cursor position. 2017-06-03 18:39:37 +02:00
Dave Davenport
8b7ceb9286 Fix textview clicking. 2017-06-03 18:34:26 +02:00
Dave Davenport
54727cc9e9 Fix header file. 2017-06-03 16:27:11 +02:00
Dave Davenport
8875118334 Don't popup error dialog, pospone error message. 2017-06-03 16:06:32 +02:00
Dave Davenport
539172187f Don't depend on latest of glib. 2017-06-03 15:45:16 +02:00
Dave Davenport
35e2e2a1cb Merge branch 'master' of github:DaveDavenport/rofi 2017-06-03 15:38:32 +02:00
Dave Davenport
7c4709a43f Fix icon sizing, use font size. 2017-06-03 15:36:21 +02:00
Quentin Glidic
d88b1bd09b
xcb: Be sure not to leak xkb keymap/state
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 14:26:34 +02:00
Dave Davenport
044c55dd2f Fix icon offset.
- Always add more ()
2017-06-03 14:10:07 +02:00
Dave Davenport
21615ccacd Remove non-existing files from Makefile. 2017-06-03 12:16:04 +02:00
Dave Davenport
78c6993750 Merge remote-tracking branch 'origin/master' into barview 2017-06-03 01:23:31 +02:00
Dave Davenport
9b0d1faacf Replace g_log by g_debug 2017-06-02 22:39:20 +02:00
Dave Davenport
bac92616d3 Remove toupper from lexer.c replace by glib equiv. 2017-06-02 22:33:55 +02:00
Dave Davenport
218886f897 Make matching keywords like Vertical case-insensitive add test.
- Make keywords like dash, horizontal, etc case-insensitive.
 - Add test for orientation property.
2017-06-02 22:12:00 +02:00
Quentin Glidic
b0fe6d3c6a
drun: Actually use the icon theme setting
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 21:35:26 +02:00
Dave Davenport
c5f5477788 Check surface status when loading icon. 2017-06-02 21:34:07 +02:00
Dave Davenport
e49eb4d531 [Drun] Async don't rely on icon_name or free it 2017-06-02 19:11:18 +02:00
Dave Davenport
4cd2d87ed2 Merge remote-tracking branch 'origin/master' into barview 2017-06-02 18:52:28 +02:00
Dave Davenport
1be9438711 Fix icon_size and allow setting icon theme (for testing). 2017-06-02 18:37:03 +02:00
Dave Davenport
a43e4e5b12 Add small debug for unfound icons 2017-06-02 18:20:31 +02:00
Dave Davenport
1e0fb75189 Filter scanning same directory twice for same desktop files. 2017-06-02 18:13:11 +02:00
Dave Davenport
b3b01b1973 (re-implement) Do lazy loading for icons.
- Fetch only when requested
 - Fetch the right size, instead of estimation.
2017-06-02 17:36:06 +02:00
Dave Davenport
2578817db7 Don´t always fetch icon size 32, but estimated based on character height 2017-06-02 17:03:45 +02:00
Dave Davenport
4bd9828aa7 Remove index from box_add. 2017-06-02 16:53:39 +02:00
Dave Davenport
1d622aa59c Change ThemeHighlight to RofiHighlightColorStyle 2017-06-02 16:46:28 +02:00
Dave Davenport
3e46228074 Change Padding to RofiPadding 2017-06-02 16:44:16 +02:00
Dave Davenport
ea7d20d150 Change Orientation enum to RofiOrientation. 2017-06-02 16:34:52 +02:00
Dave Davenport
9915857a2e Change Distance struct to RofiDistance. 2017-06-02 16:25:47 +02:00
Dave Davenport
7352f1c2ba Change PixelWidth to RofiPixelUnit. 2017-06-02 16:21:05 +02:00
Dave Davenport
48bf1709b6 Rename HL_ to ROFI_HL_ and fix box test. 2017-06-02 16:09:20 +02:00
Quentin Glidic
76a6e312fe
xcb: Add startup notification support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:57:51 +02:00
Quentin Glidic
a6f51393d3
ssh: Add startup notification support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:57:28 +02:00
Quentin Glidic
3f8af0d7c5
run: Add startup notification support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:57:19 +02:00
Quentin Glidic
0644f99b64
drun: Add startup notification support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:56:59 +02:00
Quentin Glidic
22fbaa0b50
drun: Keep the app_id around
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:55:36 +02:00