Commit Graph

236 Commits

Author SHA1 Message Date
contribuewwt 0d8df18e02
Merge pull request #133 from undefinedDarkness/add_icon_fallback
make tag preview fallback to a awesomewm icon
2021-11-04 21:47:57 +05:30
undefinedDarkness 0a49f7ff43 make tag preview fallback to a awesomewm icon 2021-11-04 20:55:22 +05:30
Kasper ab1a25e676
Fix some issue with the client preview for the tag and task preview widgets (#128) 2021-11-03 14:59:53 -07:00
Gokul Swaminathan 274df77bba Minor edits for the icon_theme and app_launcher PR 2021-11-03 14:44:03 -07:00
Kasper bebb445de6
App launcher ala rofi widget (#103)
* 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
2021-11-03 14:38:50 -07:00
Kasper d1277c10fc
Add a new 'icon-theme' module (#129)
* Add a new 'icon-theme' module

* Chcek for nil on get_gicon_path
2021-11-03 14:38:36 -07:00
gokul f3215bcaec
Update gif for tag_preview docs 2021-10-31 01:22:51 -07:00
gokul 0688673dc4
Update variable in docs and fix syntax errors 2021-10-31 00:18:37 -07:00
gokul f2ec9d9920
Update tag_preview.lua 2021-10-31 00:16:43 -07:00
gokul 4e84a884d9
Added new feature for tag_preview widget (#127)
The tag preview widgets can have a wallpaper background.
2021-10-31 00:14:29 -07:00
Nooo37 2816b2124b chore: update rockspec 2021-10-24 12:42:16 +02:00
nuxsh 2a6afd0594
Add tabbar inactive theme vars to docs (#123) 2021-10-18 09:47:25 +02:00
nuxsh 29d4a87347
Add theme vars to window switcher docs (#122) 2021-10-13 17:28:34 +02:00
Bran 19fa3a2d10
Update docs (#120)
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>
2021-10-13 17:26:04 +02:00
nuxsh 536009e58e
fix(docs): missing commas in task preview example (#121) 2021-10-11 14:17:58 +02:00
Nooo37 abfd5b8ddd
Add tabbar_{fg,bg}_{normal, focus}_inactive theme vars (#114); closes #112 2021-10-03 16:19:17 +02:00
Kasper 394c3ceeb7
Free ram for widgets with clients previews (#117) 2021-10-03 03:19:48 -07:00
gokul 7f17e7bb8b
Update Docs (#118)
Clarified a few things in the window switcher documentation and added a keybind example.
2021-09-30 12:21:21 -07:00
Nooo37 639c566734
Window switcher docs (#111); closes #106
* add all window switcher theme vars

* add window switcher docs
2021-09-26 12:37:11 +02:00
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