* Add playerctl v2 backends
* Player should be the last arguement as it's optional
* Make v2 backwards compatible with v1
* Make cli v2 backwards compatible as well
* Delete playerctl and rename playerctl_v2 to playerctl
* Add deprecation for global signals
* Update the docs
* Player should be optional
* Fix image downloading failing on some cases
* Add support for multiple screens
* Add documentation
* Update wallpaper module to use single argument for screen
* Update docs for wallpaper module
* Fix arguments
* Make swallowing more robust
Changed the flags for the pstree command so it is a single line with all
ancestors.
Removed usage of sed, grep and tr so the iopopen call should be faster.
Find and match of parent pid in the ancestors string is done in lua so
should be faster.
* Improved swallow filter
Now you cna filter window swallowing with 2 tables, one for clients that
cannot be swallowed (dont_swallow_classname_list) and one for clients
that cannot swallow their parents (cant_swallow_classname_list).
* remove occurences of res var
* renamed functions and theme vars more descriptive
* updated module documentation
* check functions combined, is_in_table 1 return
* add old theme vars for compatibility
* short swallow logic and robust filter assignment
* ignore splash and dialog parents
this prevents krita and similar missbehaving programs from swallowing their
splash window.
* consistent docs formatting
* convert module to use an async function
* removed undefined error() function call
this was probably an error handling/logging on the code i used as template for
the async function and it's callback.
* deal with corner case: parent exits before client
if the parent is destroyed "on background" then awesome will show a warning.
* added meself to authors
i don't see my additions as substantial enough to justify this but... ¯\_(ツ)_/¯
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>
* 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>
* Task preview: +much more flexible layout control
* Added awful import
* requested changes
* fixup! requested changes
* fixup! fixup! requested changes
* Fix nil error
Because what you are returning is a `wibox.widget`, instead of using `setup` you must set the `widget` property of the popup.
* fix docs
* fixup! fix docs
* task_preview docs update
Add lua support to code block
* task_preview docs update
Just some nit picky things
Co-authored-by: gokul <33443763+JavaCafe01@users.noreply.github.com>
The signals allows for further customization on the user end such as integrating the tabbar into ones titlebar. The option to disable the titlebar was overdue.
* Started on task_preview widget
* Finish task_preview widget
Finalized the code for the task_preview widget. Options and theme
variables should be allowed now.
* Changes according to review
* Improved opts
* Fixed vars to be backwards compat
* Update docs
* Old playerctl cli backend added as option
* Move files into directory and only require playerctl lib on enable
* Added wrapper functions to select backend based on args
* Switched 'player_stopped' signal to 'no_players' in CLI backend
* Added support for setting interval directly in enable() for CLI backend
* Update docs for both backends
* remove deprecated code
* Anims
Added awestore support for scratchpad
* add checks and fixed bugs
* Fixed Bug
This fixes the weird behaviour where toggling in the middle of an
animation breaks everything.
* Tag Preview Edit (Not related to this PR)
This makes it so that hidden and minimized windows don't show up on the preview.
* add some more checks
* added docs