Commit Graph

34 Commits

Author SHA1 Message Date
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
staticssleever668 0a2ff9e1de
Fix various luacheck warnings 2020-11-30 00:58:47 +03:00
sergey f76d33e8cd add screen and tag arguments to useless_gaps_resize function 2018-11-10 21:58:37 +03: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 1b12fd2319 removed whitespaced signatures; wiki updated 2017-09-04 12:43:00 +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
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 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 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 5f1fd821a0 port to awesome 4.0 completed; #248 2017-01-09 20:21:56 +01:00
copycat-killer f5700be12b fs: options moved to constructor; #closes 259 2017-01-09 13:04:02 +01:00
copycat-killer bcd37ae4ae pulsebar: corrected colors typo; closes #251 2017-01-06 11:21:19 +01:00
copycat-killer cf2c442499 net/mpd widget resize fix; #248 2017-01-03 12:21:50 +01:00
copycat-killer 26ca86598f util.mc: check if client is still valid before setting geometry 2016-11-19 12:32:29 +01:00
copycat-killer 84313cc876 #195: magnify_client can now behave like magnifier layout 2016-05-08 19:57:21 +02:00
projektile c043bc1059 update dynamic border change 2015-08-05 13:31:14 +02:00
Thierry Ghelew 34e47e46ff fix maildir and /util/init.lua which was not counting email properly and lacking function util.element_in_table function 2015-08-05 13:31:14 +02:00
Ayman Khamouma 81b4ee282b use awful.tag.gettags in order to keep compatibility with custom configs such as tyrannical 2015-08-05 13:30:38 +02:00
luke bonham 5894811766 issue #11 typos fixed 2015-08-05 13:30:31 +02:00
luke bonham 73e43b92fd dynamic tagging: move_tag added 2015-08-05 13:30:30 +02:00
luke bonham 7ab34da1e4 dynamic tagging: move_tag added 2015-08-05 13:30:30 +02:00
luke bonham 1707986615 wiki updated 2015-08-05 13:30:30 +02:00
luke bonham 2efaf86b86 full dynamic tagging and wiki added 2015-08-05 13:30:30 +02:00
luke bonham 206f4d0e80 util.magnify_client: toggle mode added 2015-08-05 13:30:30 +02:00
luke bonham 9195e2366f added useless gaps change on the fly 2015-08-05 13:30:30 +02:00
luke bonham f7aa289195 small fixes 2015-08-05 13:30:30 +02:00
luke bonham 7a4d6f5ffa first commit 2015-08-05 13:29:53 +02:00