Commit Graph

131 Commits

Author SHA1 Message Date
Ksaper 92ff78314b Remove whitespace 2023-03-28 02:06:57 +03:00
Ksaper 80b9062839 Implmement the select_or_exec function at the rofi grid widget level 2023-03-26 18:22:59 +03:00
Ksaper bbba4cdf42 Make use of #35611e 2023-03-17 03:05:20 +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 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 26c6b2b12c Remove print 2023-03-15 15:42:08 +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 26588dc725 Formatting 2023-03-13 03:45:12 +02:00
Ksaper ad9c4d795b DesktopAppInfo sucks for sorting the matched apps for best results, use fzy instead 2023-03-13 03:42:42 +02:00
Ksaper 98a3b31df4 Better naming 2023-03-13 03:42:09 +02:00
Ksaper debaa44042 Fix calling the method on the wrong object 2023-03-13 01:06:40 +02:00
Ksaper df599e260d Rename text_input_color to text_input_text_color to avoid confusion 2023-03-13 00:58:51 +02:00
Ksaper aa629f6d92 Add text_input_selection_bg prop 2023-03-13 00:58:38 +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 2e3da90061 Fix default sorting + formatting 2023-03-13 00:49:54 +02:00
Ksaper fb688b25a0 Part of the rofi grid widget now 2023-03-13 00:49:41 +02:00
Ksaper 9226d7c23a Fix varius issues 2023-03-12 18:28:26 +02:00
Ksaper 020defb095 Fix using wrong value 2023-03-12 12:43:58 +02:00
Ksaper 45f858d8f7 Fix not setting the text input color ond default template 2023-03-12 12:41:53 +02:00
Ksaper 74f4834dc4 15 is enough 2023-03-12 12:32:14 +02:00
Ksaper df2953fafe Formatting 2023-03-12 12:32:11 +02:00
Ksaper c6e87c11d0 Unbork the default template + fixes some beautiful.colors refs 2023-03-12 12:24:33 +02:00
Ksaper ba8071b13f Extract the scroller widget into it's own file + add scrollbar 2023-03-12 12:12:49 +02:00
Ksaper 4873f1e9b6 Use simpler commands 2023-03-07 13:20:28 +02:00
Ksaper 4cdc4fb5f9 Replace the prompt with a proper text input widget 2023-03-07 13:13:22 +02:00
Ksaper 13d0f1c435 Add an option to lazy load widgets (worse peformance, but less ram on init) 2023-03-07 01:05:32 +02:00
Ksaper 2ad3c5dcc9 Make the table weak 2023-03-06 02:06:53 +02:00
Ksaper 216094d0d5 gears.cache didn't work this, make the cache manually to stop it from leaking 2023-03-06 00:24:18 +02:00
Ksaper 12b94b52a3 Typo 2023-03-04 02:47:21 +02:00
Ksaper 92b651b4c7 Make it select the first index at the new page when scrolling with the mouse in an horizontal orientaiton 2023-03-04 02:14:48 +02:00
Ksaper 436b8eb241 Use the correct methods for scrolling with the mouse wheel depending on the grid orientation 2023-03-04 02:01:56 +02:00
Ksaper b6518e6e17 Handle vertical orientation 2023-03-03 19:57:49 +02:00
Ksaper 68e6e7e2e5 Has no effect 2023-03-03 14:36:29 +02:00
Ksaper 6f5b50fb4f Break 2023-03-03 14:34:55 +02:00
Ksaper 297ea259bb Don't loop twice 2023-03-03 14:32:23 +02:00
Ksaper b8dc4fa424 Use gears cache for the app widgets 2023-03-03 04:25:50 +02:00
Ksaper 4e9f1d69c4 Use desktop app info search instead 2023-03-03 04:17:58 +02:00
Ksaper bf7db8a110 Fix search timer 2023-03-03 03:50:59 +02:00
Ksaper 468e4d9119 Rename active_widget for selected_app_widget and a public method to retrive it's value 2023-03-02 03:31:15 +02:00
Ksaper c6581734d8 Improve searching 2023-03-01 19:45:38 +02:00
Ksaper a33bb8f774 Try to collect garbage 2023-03-01 19:25:55 +02:00
Ksaper 051c84bd29 Fix run_or_select + some renaming 2023-03-01 19:25:55 +02:00
Ksaper 12478ebbc6 Clearer naming 2023-03-01 19:25:55 +02:00
Ksaper 8f7ce8fe1e Add more methods + don't connect the button::press signals for templates 2023-03-01 07:13:52 +02:00
Ksaper 93327aeccf Add a method to get the text + add a search signal 2023-02-27 11:21:47 +02:00
Ksaper 0982fd604e Add method to get pages count + pass the pages count in the page signals 2023-02-27 11:18:12 +02:00
Ksaper c084c9bb5d Add a method to get the current page + pass the current page in the page signals 2023-02-27 11:15:37 +02:00
Ksaper 49c815641c Simplify and fix scrolling logic 2023-02-25 04:17:52 +02:00
Ksaper 69c5653a4c Add a proper refresh method 2023-02-25 03:46:33 +02:00