Commit Graph

451 Commits

Author SHA1 Message Date
Ksaper a4df7debbc Add more helper functions + remove useless comments 2023-02-24 23:11:53 +02:00
Ksaper c449681cbe Convert the reset function into a public method + fix not respecting the reset_on_hide prop 2023-02-24 23:08:56 +02:00
Ksaper 8c8d96702e Check if the returned table is nil 2023-02-24 22:27:06 +02:00
Ksaper 44af848a9c Define app once 2023-02-24 22:20:58 +02:00
Ksaper 87656129f7 ::press gets called consisntely when holding down a key and that will cause lag when scrolling 2023-02-24 22:20:58 +02:00
Ksaper 7e33e62486 Replace xclip dep using gtk clipboard 2023-02-24 21:24:18 +02:00
Ksaper 7207d9792a Get the text from self, no need to pass it as well 2023-02-24 20:43:10 +02:00
Ksaper 097f007a34 Refresh the app list when settings the favorites 2023-02-24 20:43:10 +02:00
Ksaper 7f34d48a97 Refactor the sorting function + split the sorting part into it's own function 2023-02-24 20:43:10 +02:00
Ksaper 24cdcb9385 No need for the case_insensitive function, can just :lower() the string + use plain matching 2023-02-24 20:43:10 +02:00
Ksaper d7f23096d4 This is a table-array like as well, use ipairs 2023-02-24 20:43:10 +02:00
Ksaper 0978c54321 This should have been ipairs 2023-02-24 20:43:10 +02:00
Ksaper 7f73fc3265 Expose these methods in a nicer way for the app_template 2023-02-24 20:43:10 +02:00
Ksaper 04d7af46b3 Fix prompt disabling other keygrabbers 2023-02-22 05:18:55 +02:00
Ksaper b9576250ee Add the desktop_app_info to the app table 2023-02-21 05:07:11 +02:00
Ksaper fd3ee7a786 Add more props to the app table 2023-02-21 05:01:16 +02:00
Ksaper 6cf48e9f48 Not used 2023-02-21 05:00:18 +02:00
Ksaper 582b3c4db8 Adding more props to the app table that this is obslete now, it's better to just use the app.prop_name syntax 2023-02-21 04:55:47 +02:00
Ksaper 2649d0ea0c Rename entry/entries to app/apps 2023-02-21 04:30:38 +02:00
Ksaper e47fbd28d5 Just use set_text 2023-02-20 05:11:45 +02:00
Ksaper 9d5729cc03 Make it consistent with the rest of awesome API 2023-02-20 05:09:34 +02:00
Ksaper 2c6570405b Update docs 2023-02-20 05:09:26 +02:00
Ksaper f984ca541d Remove old props from docs 2023-02-20 04:55:04 +02:00
Ksaper 0ae3c65501 Hard code it 2023-02-20 04:54:20 +02:00
Ksaper 3fb0836fc7 Not working 2023-02-20 04:53:41 +02:00
Ksaper 38e3d033cd Make use of the screen prop 2023-02-20 04:51:00 +02:00
Ksaper 87f50e7661 Always_on for default prompt 2023-02-20 04:33:23 +02:00
Ksaper 1a70455656 Remove animation support (can be done manually) + some very weird code? 2023-02-20 04:16:31 +02:00
Ksaper 33576c2b24 Fix scrolling and grid when using widget_template 2023-02-20 04:08:51 +02:00
Ksaper 8b60520536 Better defaults 2023-02-20 03:39:42 +02:00
Ksaper c01b5868d1 Support icon prop in table form or in regular form 2023-02-20 03:39:37 +02:00
Ksaper 5562030754 Use state to know when to show the cursor or not 2023-02-20 02:57:02 +02:00
Ksaper 594610a9f4 Better defaults 2023-02-20 02:29:05 +02:00
Ksaper 8812678c5a Use the new prompt widget and improve widget_template support 2023-02-20 02:29:05 +02:00
Ksaper 68482b16cd Just get it from helpers 2023-02-20 02:29:05 +02:00
Ksaper e5deb85ac3 Not used 2023-02-20 02:29:05 +02:00
Ksaper eb7c1aa409 It's the 1st widget in the layout, no need to search for it 2023-02-20 02:29:05 +02:00
Ksaper b8b3e8a712 Refactor the prompt widget 2023-02-20 02:29:05 +02:00
Ksaper 21f0bd2968 Improve templates support 2023-02-19 18:01:15 +02:00
Ksaper a6c3376694 Formatting 2023-02-19 18:01:15 +02:00
Ksaper 1f5cdbf129 Add a default_value function to improve the syntax of setting defaults 2023-02-19 18:01:15 +02:00
Ksaper 6e77e55d04 No need to recreate the timer 2023-02-19 18:01:15 +02:00
Ksaper d4911c99c2 set raw to true 2023-02-19 18:01:15 +02:00
Ksaper 7a20f91fb6 Rename prompt_color to prompt_bg_color 2023-02-19 18:01:15 +02:00
Ksaper c975a0de9a Reduce amount of configuration options 2023-02-19 18:01:15 +02:00
Ksaper eda3703635 Use the start_new func 2023-02-19 02:25:55 +02:00
Ksaper 8530b17099 Nemo WM_CLASS='nemo' while it's desktop name prop='Files', but hey at least I can match by id 2023-02-16 03:19:10 +02:00
Ksaper 530619c848 I swear this actually works now 2023-02-14 05:08:06 +02:00
Ksaper c8552e508d Why there isn't an easier way to get a desktop file from a client 2023-02-14 03:58:08 +02:00
Ksaper 4445f0b0fb This can error out 2023-02-14 03:40:16 +02:00