Commit Graph

59 Commits

Author SHA1 Message Date
Nooo37 3164486da0
docs(wallpaper): fix example issue 2022-03-30 21:34:23 +02:00
tuwuna 5b3bc36b70
docs: Missing comma (#159) 2022-03-13 10:49:36 +01:00
gokul 718ac6da7a
Update Docs (#154)
Add in docs for the new playerctl PR.
2022-01-23 16:06:44 -08:00
SystematicError 9b88048ce9
Update repository urls (#155)
Co-authored-by: SystematicError <systematicerror@users.noreply.github.com>
2022-01-16 18:26:40 -08:00
Kasper 338dba6292
Add playerctl v2 backends (#142)
* 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
2022-01-07 21:33:24 -08:00
Anirudh Haritas Murali 298a6e6c8d
Add support to wallpaper module for multiple screens (#125)
* Add support for multiple screens

* Add documentation

* Update wallpaper module to use single argument for screen

* Update docs for wallpaper module

* Fix arguments
2022-01-04 11:51:44 +01:00
eylles 7542251b72
Improved swallowing (#140)
* 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... ¯\_(ツ)_/¯
2022-01-04 11:14:12 +01:00
Cezary Drożak bc26b9ff89
feat: allow disabling tabbar in mstab layout (#145)
closes #143
2021-11-28 10:13:12 +01:00
contribuewwt 165a230b0a
Merge branch 'master' into fixes 2021-11-15 18:35:30 +05:30
undefinedDarkness a525299d4f add more options to titlebar indicator 2021-11-04 21:42:06 +05:30
undefinedDarkness 1f8c3bdcd7 add-create-callback to titlebar_indicator 2021-11-04 21:19:44 +05:30
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 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
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
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 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
Nooo37 91650152bc add 'docs' for the deck layout 2021-08-19 10:40:47 -07: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
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
Nooo37 d81b15399e
Add scratchpad signals (#82)
fixes #82
2021-08-04 11:56:25 +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
contribuewwt 2e8efb0fb1
fix 2 letters in task_preview documentation (#76)
>:)
2021-07-20 13:34:43 -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
gokul 8b245f7ef3
Add placement function to docs for tag preview 2021-06-16 00:53:28 -07:00
gokul 60c1e4735e
Fix typo in docs according to #56 2021-05-11 23:17:02 -07:00
branwright1 f00a791b40 Better CSS in docs 2021-04-28 12:37:14 +01:00
branwright1 7edae49b7e Better CSS in docs 2021-04-28 12:25:20 +01:00
HumblePresent fb8bf62fae
Old playerctl cli backend added as option (#49)
* 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
2021-04-24 02:37:06 -07:00
HumblePresent 9848c3b8f0
Playerctl signals backend rewritten with playerctl library (#43)
* Playerctl signals backend rewritten with playerctl library

* Removed collectgarbage() calls and updated docs

* All docs updated
2021-04-18 16:33:35 -07:00
Gokul Swami ae5bcde75e Add more docs and fix readme 2021-04-16 14:31:03 -07:00
gokul swaminathan 5b6cab4099
Awestore support for scratchpads (#40)
* 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
2021-04-16 12:46:42 -07:00
gokul swaminathan 1febdb6978
Add missing equal sign 2021-04-15 18:06:00 -07:00
Brandon Wright fb0303175e
fix banner in embed (#41) 2021-04-15 17:48:19 -07:00
Nooo37 da886cb1c4
Scratchpad feature (#35) 2021-04-08 20:17:10 +02:00
Gokul Swami 1f4b1094dc Revert back to screen param 2021-04-08 07:21:26 -07:00
Gokul Swami 9289ec4f75 Update docs and add more options 2021-04-08 06:50:16 -07:00
Brandon Wright 25de26cda4
dark theme for docs (#36)
* added github banner

* dark theme for docs

* javacafe.css for docs

Co-authored-by: branwright1 <branwright1@github.com>
2021-04-07 18:43:28 -07:00
Gokul Swami 2d058525a6 Add documentation for tag preview 2021-04-07 15:00:37 -07:00
Gokul Swami f8a7635b5e Imgur problem
There was a weird problem with imgur, I just used the same photo and
updated the link.
2021-03-03 15:33:26 -08:00
gokul swaminathan 7486147612
Update layout.md 2021-03-03 15:30:25 -08:00
bysmuth 59fdd00caa added icon and necessary code 2021-03-03 12:24:56 +01:00