Commit Graph

428 Commits

Author SHA1 Message Date
Ksaper 566a5a9bd9 Add context to the unfocus signal 2023-03-16 04:37:55 +02:00
Ksaper 6c76dc9b17 Fix varius input handling issues with the text input widget 2023-03-16 02:04:06 +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 a1c93c87a7 Fix not being able to do shift + key 2023-03-15 15:01:39 +02:00
Ksaper 1cec46b2bb Elseif it 2023-03-15 15:01:34 +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 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 31934c1576 Implement double click to select current word + triple click to select all text 2023-03-13 02:28:22 +02:00
Ksaper ef7cba1b4d Fix checking for the wrong value 2023-03-13 02:02:52 +02:00
Ksaper 996fc7cf79 Should check if true 2023-03-13 01:56:46 +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 63d8f27011 Fix not returning the value 2023-03-12 18:27:28 +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 4ba108df92 Fix typo 2023-03-12 12:12:31 +02:00
Ksaper 35e8152312 temp 2023-03-12 11:38:13 +02:00
Ksaper 0239710fdf Don't emit the signal here, this is called by the user 2023-03-12 10:29:11 +02:00
Ksaper 26a03aa23b Fix focusing the text input when releasing any mouse button 2023-03-11 04:40:22 +02:00
Ksaper 301d23e4cf Fix text_color not customizable 2023-03-11 00:47:04 +02:00
Ksaper 60089224d7 pass in the text for the unfocus signal 2023-03-11 00:13:31 +02:00
Ksaper e1c556e1cb Add unfocus on client focus prop 2023-03-10 05:51:15 +02:00
Ksaper a99eb3ffe0 Adjust some code + fix initial value not working 2023-03-10 05:38:32 +02:00
Ksaper 881895e200 Text filtering the right way 2023-03-10 05:27:00 +02:00
Ksaper f028caee47 Fix some text input issues 2023-03-10 04:53:17 +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