Commit Graph

15 Commits

Author SHA1 Message Date
Ksaper 80b9062839 Implmement the select_or_exec function at the rofi grid widget level 2023-03-26 18:22:59 +03:00
Ksaper 35611e44d2 Add context to the select signal 2023-03-17 00:55:57 +02:00
Ksaper aa25cfd4b6 Add default_search_sort_fn and default_search_fn to rofi grid 2023-03-16 08:20:00 +02:00
Ksaper 331712ff75 Handle favorites directly in the rofi grid widget 2023-03-16 08:09:03 +02:00
Ksaper d09bf3ba7e I was keeping the cache, but overriding the entries table which caused the widgets to keep a refrence to an entry that was now nil 2023-03-16 05:22:56 +02:00
Ksaper 6a52784b46 Hide scrollbar when grid is empty 2023-03-16 04:57:38 +02:00
Ksaper 89198120ea Widgets might share the same entries, so don't have any method on the entries objects 2023-03-15 20:40:33 +02:00
Ksaper 31809096ad Add local pairs 2023-03-15 07:05:20 +02:00
Ksaper 39dc7215d1 Add back the set_selected_entry method with a new name 'scroll_to_index'
Using the scroll_up/down for scrolling by dragging the scrollbar was laggy
2023-03-15 07:02:35 +02:00
Ksaper ed287c86e2 Makes cache smarter when reloding the app list (only add/remove what's needed instead of reseting the entire cache) 2023-03-15 06:44:36 +02:00
Ksaper 39a7b9659f Is 0.05 enough? 2023-03-13 03:48:55 +02:00
Ksaper 89a1a1f1ec These defaults makes more sense for the app launcher, but less if used in other widgets 2023-03-13 00:58:19 +02:00
Ksaper 63d8f27011 Fix not returning the value 2023-03-12 18:27:28 +02:00
Ksaper ba8071b13f Extract the scroller widget into it's own file + add scrollbar 2023-03-12 12:12:49 +02:00
Ksaper 35e8152312 temp 2023-03-12 11:38:13 +02:00