Commit Graph

219 Commits

Author SHA1 Message Date
undefinedDarkness 7261f0ba40 Use grid layout in custom_tasklist
Export draw_widget from tag_preview
2021-11-04 21:34:27 +05:30
undefinedDarkness 1f8c3bdcd7 add-create-callback to titlebar_indicator 2021-11-04 21:19:44 +05:30
Kasper 7277f57730
More scratchpad fixes (#109)
* :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
2021-09-13 17:22:34 -07:00
Gokul Swaminathan d2e834ae9e Added a max line length to lua files 2021-09-09 00:42:28 -07:00
HeavyRain266 b41284816c
Add .editorconfig (#107)
* Add .editorconfig

* Update README.md

Co-authored-by: gokul <33443763+JavaCafe01@users.noreply.github.com>
2021-09-09 00:26:09 -07:00
Gokul Swaminathan 74dac14a3f Removing the auto formatting
Removing this in favor of editorconfig
2021-09-09 00:24:10 -07:00
github-actions[bot] 1727f1d9f3 Auto: format source code 2021-09-07 20:41:10 +00:00
Kasper ae0a999e1b
Add a window switcher widget (#84) 2021-09-07 22:40:55 +02:00
github-actions[bot] 3fc80c7dfd Auto: format source code 2021-08-27 18:01:22 +00:00
gokul 489f2a3490
Update format.yml 2021-08-27 11:01:07 -07:00
gokul 6dfd669b24
Added workflow for formatting (#102) 2021-08-27 10:45:52 -07:00
Kasper 0fb8534191
Scratchpad improvements (#96)
* 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>
2021-08-26 10:31:27 -07:00
Kasper 048cf41e0a
Add playerctl lib signals debounce as a better workaround for #77 (#95)
* A better workaround for BlingCorp/bling#77

* whoops.....
2021-08-22 22:04:40 -07:00
Kasper 5531371501
fix scratchpad rules not being applied when an existing client is not found (#83) 2021-08-22 13:23:38 +02:00
Nooo37 91650152bc add 'docs' for the deck layout 2021-08-19 10:40:47 -07:00
Nooo37 c0ead60b63 add deck layout 2021-08-19 10:40:47 -07:00
Nooo37 bda2e55643
return to previous version for window swallowing; closes #65 (#92)
Window swallowing is still very unreliable (probably by the nature of the task at hand) but at least that makes the module useable again
2021-08-19 12:16:21 +02:00
contribuewwt a96c7ca67a
fixed documentation (#91) 2021-08-18 23:01:31 -07:00
gokul 7387f6d53c
Update _sidebar.md 2021-08-18 11:43:53 -07:00
contribuewwt bdc025fb63
+titlbar tabbed group indicator +tasklist tabbed group indicator (#88)
* +titlbar tabbed group indicator +tasklist tabbed group indicator

* fixup! +titlbar tabbed group indicator +tasklist tabbed group indicator

* fixup! fixup! +titlbar tabbed group indicator +tasklist tabbed group indicator

* fixup! fixup! fixup! +titlbar tabbed group indicator +tasklist tabbed group indicator

* Import bling

* reeeeeeeeeee

* stuff

* fixup! stuff

* fixup! fixup! stuff

* fixup! fixup! fixup! stuff

* fixup! fixup! fixup! fixup! stuff

* fixup! fixup! fixup! fixup! fixup! stuff

* fixup! fixup! fixup! fixup! fixup! fixup! stuff

* fixup! fixup! fixup! fixup! fixup! fixup! fixup! stuff

Co-authored-by: gokul <33443763+JavaCafe01@users.noreply.github.com>
2021-08-18 11:39:33 -07:00
Kasper 0aa1a92c72
Default length to 0 when mpris:length is nil (#89) 2021-08-15 01:56:50 -07:00
Gokul Swaminathan 5ae63cd860 Code style improvements
Autoformatted code for task_preview
2021-08-11 13:58:19 -07:00
contribuewwt 46282edf72
Task preview: more flexible layout control (#85)
* 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>
2021-08-11 13:55:41 -07:00
Gokul Swaminathan 37edd6e1eb Converted tag_preview to `awful.popup` 2021-08-09 10:43:59 -07:00
Nooo37 ebe55b56f9
fix #86 (#87) 2021-08-09 09:37:07 -07:00
Nooo37 976306524d
Figuring out CODEOWNERS 2021-08-04 16:48:42 +02:00
Nooo37 e57a74419a
Create CODEOWNERS
only added the most commonly PRed and the most clear cut files for now
2021-08-04 16:41:09 +02:00
Nooo37 d81b15399e
Add scratchpad signals (#82)
fixes #82
2021-08-04 11:56:25 +02:00
Gokul Swaminathan 22ee259c27 Merge branch 'master' of github.com:BlingCorp/bling 2021-08-03 11:28:46 -07:00
Gokul Swaminathan 0d156d84c6 Fixed color issue in tag preview that messed up blur 2021-08-03 11:28:27 -07:00
Nooo37 9941797638
make wallpaper module 4.3 compatible (#70) 2021-08-03 19:56:37 +02:00
Denis Efremov 9a88eb1b2f
Add "pure" tabbar style (#58) 2021-08-03 19:44:04 +02:00
Nooo37 5dee9f0f15
Update theme-var-template.lua
Forgot to add the option from #79
2021-08-03 13:09:55 +02:00
Gokul Swaminathan 00d94027e9 Make the client preview rounded 2021-08-01 22:24:36 -07:00
Kasper 5ca27551da
Fixes for the playerctl_lib signals (#77)
* 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
2021-07-29 08:54:37 -07:00
Jezer Mejía ac0427a737
Fixed tag_preview: shape_border_color and shape_border_width (#80) 2021-07-27 12:00:15 -07:00
Nooo37 d8e95083e9
Update README.md 2021-07-27 19:55:54 +02:00
Nooo37 3da4906748
tab pick by direction (#78)
Adding a new way to pick a client for the tabbing groups
2021-07-27 19:54:29 +02:00
contribuewwt 039d48ee22
tabbed: added a signal and a way to disable the titlebar (#79)
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.
2021-07-27 16:36:20 +02:00
gokul f3239891bf
Create AUTHORS.md 2021-07-20 14:37:23 -07:00
gokul d5579312d3
Update copyright 2021-07-20 14:32:35 -07:00
contribuewwt 2e8efb0fb1
fix 2 letters in task_preview documentation (#76)
>:)
2021-07-20 13:34:43 -07:00
Humberto fba32b4d5c
Adding Close, Minimize and Float buttons in tabbar (#75)
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
2021-07-19 11:13:48 -07:00
gokul 9104455fff
Minor improvements to tag preview 2021-07-14 15:25:47 -07:00
gokul 8d2bdfad15
Update task_preview.md 2021-07-14 15:22:15 -07:00
gokul a77fdbc1be
Task Preview Widget (#72)
* 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
2021-07-14 15:17:46 -07:00
Nooo37 921d386b47
mstab doesn't need xwininfo; fix readme 2021-07-03 16:32:51 +02:00
Kasper 75ff07a47e
fix scratchpad closeing issue (#63)
* 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
2021-06-18 14:49:45 +02:00
gokul 8b245f7ef3
Add placement function to docs for tag preview 2021-06-16 00:53:28 -07:00
contribuewwt 4f1022b83e
adds placement function support to tag preview (#66)
* + 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>
2021-06-16 00:48:46 -07:00