Trial97
8792d0de68
Added first set of tests and fixed the requires again
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-09-05 23:29:10 +03:00
Trial97
d771aa6dfa
Merge branch 'master' of https://github.com/lcpz/lain
2022-07-11 19:19:49 +03:00
Teivel
c489aa63ac
fix( #485 ): Separators not following theme ( #535 )
...
* fix(util/separators): Not following theme
Fix issue #485 `lain.util.separators` not following theme variables
separators_width and separators_height as stated in the wiki
* fix: Removed redundant parenthesis
2022-06-25 11:43:16 +00:00
Luca Capezzuto
c7c50bbf8c
luacheck: fix dkjson warnings
...
Signed-off-by: Luca Capezzuto <luca.cpz@gmail.com>
2022-06-11 12:07:45 +02:00
Trial97
79842ac34b
Fixed require statements
2022-03-22 20:45:38 +02:00
Luca Capezzuto
07cf82e3b2
update dkjson to v2.6
2022-03-16 14:13:10 -06:00
Shubham Pawar
284a4b61a5
Better implementation of tag_view_nonempty
...
The Problem:
The issue will current implementation is that it goes to next tag and
stops only if clients on that tag are more than 0.
So now consider a scenario we have clients on *tag 1,2,5*
With the current implementation if we are on tag 2 and call
lain.util.tag_view_nonempty(1) and then call
awful.tag.history.restore() It will take us to tag 4 instead of tag 2.
This PR solves the problem
2021-08-22 07:48:09 +05:30
zdmgmail
8d4f9b32b0
util.tag_view_nonempty(direction,sc)
2021-07-06 10:33:53 +08:00
Gaël James
c2ec8f2a6b
Allow transparency in util.seperators
2020-12-29 15:51:23 +01:00
Luca CPZ
6b3bdcaed1
#474 : remove remaining 9 warnings
2020-11-30 14:58:27 +00:00
staticssleever668
0a2ff9e1de
Fix various luacheck warnings
2020-11-30 00:58:47 +03:00
unisgn
a26282d91c
Update quake.lua
2020-11-26 01:29:38 +08:00
unisgn
6b2a4ce4d9
make quake to remember maximize and fullscreen
2020-11-26 01:16:30 +08:00
Simon Désaulniers
037f2c3641
util/menu_iterator: unpack retro compatibility
...
* Lua 5.2 renamed `unpack` to `table.unpack`.
* Fix: helpers.lua required.
2019-02-13 14:19:07 -05:00
lcpz
6c3a211991
util.quake: revert previous commit; closes #415
2018-12-01 18:35:44 +00:00
lcpz
233768f096
API change: lain.widget.contrib.tpbat has been rewritten and renamed to lain.widget.contrib.tp_smapi
...
lain.widget.cal: honour followtag argument
lightened calls to libraries
2018-11-28 20:01:22 +00:00
sergey
f76d33e8cd
add screen and tag arguments to useless_gaps_resize function
2018-11-10 21:58:37 +03:00
Greg Flynn
f6e032ffe1
allow separator colors to be updated
2018-11-05 20:39:24 +00:00
Luca CPZ
be69daf964
util.markup: fixed typos
2018-10-28 12:43:54 +00:00
Luca CPZ
9188218021
widget.calendar reimplemented and renamed to widget.cal; util.quake: simpler geometries table index; util.markup: use string.format only
2018-09-14 12:09:11 +02:00
Kyra Zimmer
e81f46950b
util.quake: check if client exists when moving it to another tag
2018-02-22 13:11:37 +01:00
Luca CPZ
1b909160d6
util.menu_iterator: cleaned indentation; added wiki entry; closes #386
2018-02-17 14:06:20 +01:00
Luca CPZ
af3427c7df
Merge pull request #377 from sim590/menu-iterator
...
menu_iterator: naughty.notify based menu utility
2018-02-17 12:19:53 +01:00
Simon Désaulniers
1d2f4a102e
menu_iterator: generic menu creator function
...
A simple example usage is given over on the amh project~[1]
[1]: dcf101c8ef/exec/mpv.lua (L32)
2018-02-16 16:14:13 -05:00
Simon Désaulniers
b94e701ff2
menu_iterator: naughty.notify based menu utility
2018-02-16 15:26:35 -05:00
Aleksandr Beliaev
31d64906a0
Weather widget rewritten; first authorship updated
2018-02-15 12:24:31 +01:00
Luke Bonham
055e663772
pulseaudio -> pulse; scallback merged into cmd (read wiki)
2017-10-05 11:32:01 +02:00
Luke Bonham
d070b7bd35
quake: iterate on all screens; #339
2017-09-05 22:34:09 +02:00
Luke Bonham
62edd22cdb
util.quake: removed onlyone parameters; wiki updated; counters #339
2017-09-05 16:34:52 +02:00
Luke Bonham
1b12fd2319
removed whitespaced signatures; wiki updated
2017-09-04 12:43:00 +02:00
Luke Bonham
c89fc17636
quake: avoid calling compute_size whenever possible
2017-07-10 12:00:49 +02:00
Luke Bonham
6f2b39a266
counter pull #344 : don't rely on awful.layout.layouts array, but point directly to tile layout
2017-06-25 13:16:10 +02:00
2009
8a433a285b
Fix issue with `add_tag` when not using floating layout
...
Using `awful.layout.layouts[0]` was causing `add_tag` to always be set to floating rather than the first entry in `awful.layout.layouts`. This would be fine for users who were using the floating layout, but would otherwise break the layoutbox widget and changing layouts.
2017-06-21 11:02:41 +10:00
Jure Varlec
2ddb55bc44
quake: add a new option `onlyone`.
...
This option allows using a single instance of the app with multiple
screens instead of having a separate app for each screen. It works
better if there is only one instance of the quake object, i.e.
local quake = lain.util.quake({onlyone=true})
and
awful.key({ modkey, }, "z", function () quake:toggle() end),
2017-05-06 11:29:59 +02:00
Gergely Peidl
ddcaa07827
Adding support for setting up a layout of the new tag.
2017-02-13 13:20:23 +01:00
copycat-killer
c23271b418
util: magnify_client/mc: added width and height factors as optional args
2017-02-06 17:34:08 +01:00
copycat-killer
b1a089633c
fix #298
2017-01-31 17:31:12 +01:00
copycat-killer
19a7003b34
markup: added fontfg and fontbg
2017-01-28 23:35:27 +01:00
copycat-killer
555b872d16
maildir: turned into an abase example
2017-01-27 22:01:48 +01:00
copycat-killer
83b96b3c3a
wipe away beautiful reference
2017-01-27 14:59:31 +01:00
copycat-killer
5383f3db0d
quake: add settings function; closes #273
2017-01-23 15:46:33 +01:00
copycat-killer
23318f8eea
mem: math.floor->ceil and substract SReclaimable too from the total; closes #271
2017-01-23 13:35:30 +01:00
copycat-killer
f82f0ed205
small fixes
2017-01-22 02:13:02 +01:00
copycat-killer
fadc722655
revert fix coretemp
2017-01-22 01:27:24 +01:00
copycat-killer
6cce5b6fe1
cal: asynchronous
2017-01-22 01:15:57 +01:00
copycat-killer
a89bbec6f3
quake: client maximized before awesome restart: after the restart, unmaximize and toggle to get normal geometry again
2017-01-21 18:09:07 +01:00
copycat-killer
669b0de47b
quake: updated spawn call
2017-01-12 22:46:19 +01:00
copycat-killer
741b65d5ea
quake: skip_wibox -> overlap and default to false, followtag redefault to faluse; closes #264 #265
2017-01-12 20:35:59 +01:00
copycat-killer
d549219a2e
quake: skip_wibox option added #263 ; mpd: removed mpdcover script call (much faster now)
2017-01-12 18:33:57 +01:00
copycat-killer
354fa23548
#263 : followtag default to true; changing quake definition
2017-01-12 13:07:11 +01:00