* 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>
* Only send artUrl to the signal if it's not empty
* Fix for double signals
What I've found while using dbus-monitor is that playerctl sends a bunch of messages whenever media is changed, with the first one always having the artUrl empty.
If the media does have an artUrl, the next messages will contain the artUrl resulting in artUrl ~= last_artUrl becoming true and triggering another signal
The hacky method in the commit will only trigger a new signal if artUrl is not empty, or on the second message sent (as some media don't provide any art)
* Revert "Only send artUrl to the signal if it's not empty"
This reverts commit e74671094a.
* Fix artUrl staying the same when the new value is empty
* Revert "Fix artUrl staying the same when the new value is empty"
This reverts commit aa4ddbe863.
* Fix artUrl staying the same again
* Prevent signal with no information from being emitted
* A better workaround for the double signal issue with YouTube
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.
I remember this was in bling for quite some time, but I think they removed them. For that reason I make this pull request to see if they could add them back to bling when using the tabbar
* 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
* Add an option to disable client floating state when closing the scratchpad
* Fix an issue where a scratchpad can't be toggled with dont_focus_before_close unless doing so from the first tag
* + Placement Function Support for tag preview widget
* made a mistake
* Remove empty line (sorry it was annoying me lol)
Co-authored-by: undefinedDarkness <david@localhost.localdomain>
Co-authored-by: gokul <33443763+JavaCafe01@users.noreply.github.com>
* 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