* Formatting and small improvements
* Refactor to stop resubscribing each time
* Remove prints
* This is less error prone
* Fix abort when tag is switched for the new changes
* Fix animation_turn_off not getting called when only 1 animation is used
* Rename init() to reset()
* Regenerate app list when an app is installed/uninstalled
* Fix some issue with inside app content placement
* Add an option to show the generic_name of the app (used a lot in rofi text mode style)
* Set default spacing to 0
* Use a modified prompt to add methods such as :start() :stop() and some uncustomizable behaviour
* Move app_launcher into it's own folder
* Fix default values for various bools
* Why would anyone want to reverse sort alphabetically?
* Maybe someone will want that?
* Make has_value case insensitive
* Add an option to specify favorite apps (will appear first)
* Fix widget placement
* Add ctrl+v paste shortcut
* Add an option to not close the widget when launching an app
* Refactor page scrolling code to add support for wrap scrolling options
* Fix init for bool with false default values
* Fix app name halign not working
* This is padding and not margin
* Increase the height to make space for the new padding property
* Fix bg and fg setting not getting applied for the prompt
* Fix some scrolling bugs
* Add default template for text version
* Yet another scrolling issue
* This should be on by default
* Fix animation flickering
* Make sure there is always a default icon
* Use get_example_icon_path to get the default icon
* Refactor scrolling to add support for left and right scrolling
* fixup! Make sure there is always a default icon
* Fix calculation happening at the wrong time
* Fix default icons again
* Where did that come from?
* Fix calculation happening at the wrong time for scroll_up as well
* Fix error on scroll right when scrolling to page where amount of rows is smaller than the selected row
* Sort search results by string similarity
* Don't sort by similarity when the search string is empty
* Add hover effects
* try_to_keep_index_after_searching should be false by default
* This should only trigger for lmb
* Add an option to hide the app launcher when clicked with lmb/rmb outside of it
* Use gtk-launch so terminal apps spawn correctly
* Use get_executable instead of get_commandline
* Add an option to set the hover colors
* Further improvements for the spawn function
* Fix scrolling/searching errors when there app list is empty
* This should never be nil anyway
* whitespace
* Refactor show, hide and toggle method + remove support for manually setting x an y (use placement)
* Add arguements for custom icon_theme (defaults to the selected system gtk theme) and icon_size (defaults to 48)
* Pass the app table instead of individual keys to create_app_widget
* Add an arguement to pass the default terminal for terminal apps as gtk-launch only uses xterm
* Reformating
* Rename 'mark_app' and 'unmark_app' to 'select_app' and 'unselect_app'
* Call :hide() from app.spawn() to avoid calling hide() twice on some cases
* Fix escape not closing the launcher after b7e44ec4
* Reduce code duplication and only reset the launcher when the animation is over (if not nil)
* Set active_widget to nil when the grid is empty to prevent from spawning the wrong app
* Override the default exe_callback
* Override the default behaviour for 'Return' via hooks instead because overriding only exe_callback still doesn't stop it from pausing the prompt keygrabber
* Set active_widget to nil on unselect
* Unselect previous app on search to avoid from spawning it when the grid is empty
* Use double quotes for everything
* Initial commit
* Fix missing dpi variable
* Add an option to search by command
* Add turn_on and turn_off signals
* Add options to skip apps by their names or commands
* Add an option to skip apps with no icons
* Fix looping over the wrong table
* Refactor to make it into a proper bling like widget
* Fix selecting the wrong app after a search
* Why was this in a seperate check?
* Fix various issues with toggle/show/hide
* Stop it from complaining
* Fix wrong app getting selected after scrolling up/down
* Add an option to spawn the app when pressing on it regardless if it was selected or not
* lol what?
* Don't add widgets that won't be visible after scrolling down
* Yap wasn't needed
* This is a little clearer
* Add an option 'try_to_keep_index_after_search' to mimic rofi behaviour
* Only add widgets that are visible after a search
* Fix search not adding the correct number of widgets
* Add proper customization options
* Add proper customizaiton options for the prompt
* Simplfy scroll down logic and fix possible bugs
* Add animation support
* Fix app list being empty on some occasions
* Default placement when x and y is nil
* Free up ram
* Add a default icon option
* style change
* Not needed and also hurts search peformance by a decent amount
* Fix error when trying to spawn an app when no app is currently marked
* Not needed
* Add a small debounce delay for the search to prevent it from lagging
* Formatting
* Replace menubar with app_info
* Fix the default icon option
Formatted markdown and lua snippets, removed trailing spaces and made example keybinds compilant with default awesome config
Co-authored-by: Nooo37 <senpai.ackabar@gmail.com>
* :reset() calls :abort() anyways
* This is no longer needed
* Reduce code duplication
* A more sane name for 'current_tag_on_toggled_scratchpad'
* Don't redefine the functions on every call
* Set stickly to false
* Fix client turning on despite already being on when sticky = true
* Don't set sticky to false when the animation starts, otherwise the client in some cases will immediately disappear
* Set client.sticky = false in helpers.client.turn_off instead
* Remove unused parameter
* Better comment
* Only turn off the client when both animations have ended + stop calling :reset() on the animations
* Correctly animate non floating clients
* Fix scratchpad animations for setups with more than 1 screen
* Try to fix turn off when using multiple screens
* Make scratchpads work with rubato
* Set floating to true when animating
* Fix for clients becoming invisible after toggling off on other tags
* Fixes for animations not getting played when opening/closing scratchpad on multiple tags
* Remove old debug code
* Fix for edge case when launching an app (not via a scratchpad) and then toggle it off via a scratchpad
* Handle changing tag mid turn off animation
* Remove disable_floating_on_close
* Reorder some stuff
* Use the new ended event
* Refactor to reduce code duplication
* Fix an issue caused by not unsubscribing when switching tag mid animation
* Animate also when launching the client
* also for 4.3
* Emit the inital_apply signal on unstable
* Rename awestore to animation
* Consistency
* No need for this anymore as we are recalling :apply anyway
* Can't have scratchpads opened up as fullscreen / maximized
* Floating must be true for animations
* Rename awestore to animation
* Fix clients teleporting on turn_off when the position was changed from the initial scratchpad position
* Rename animation to rubato and notify that awestore is no longer supported
* Update documentation
* Update scratchpad.lua
Co-authored-by: gokul <33443763+JavaCafe01@users.noreply.github.com>