Commit Graph

1235 Commits

Author SHA1 Message Date
Romanos Skiadas ca08528926 mpris-widget: correct artUrl
Perhaps due to the regex change, or maybe it never did work, art was always
nil. Use gears.string.split(), which works, is much easier to read than the
regex and removes the need to munge the artUrl after too.
2021-10-15 18:47:11 +03:00
Romanos Skiadas 567b5bb84f mpris-widget: make play/pause icon work
The middle part of mpris_widget was meant to be a play/pause icon. It
only displayed a circle, as an unrelated widget that was not shown was
set up and modified according to the play state. Delete the invisible
widget, add the icon where it should be.
2021-10-15 18:34:09 +03:00
Romanos Skiadas aacbf61fac mpris-widget: enable notification on mouse enter
use the right widget and it just works(TM). Changed the title to not
have bold formatting, as it's already formatted and the <b> was printed
literally, changed the <b>by</b> to - as it looks nicer to me.
2021-10-15 18:23:26 +03:00
Romanos Skiadas 2b829c7257 mpris-widget: remove more dead code
no need to update a widget that is never updated
2021-10-15 18:18:30 +03:00
Romanos Skiadas 588227cc1a mpris-widget: rename mpdstatus to player_status 2021-10-15 17:51:59 +03:00
Romanos Skiadas 435d5d14f8 mpris-widget: fix api call
there is no naughty.notification, notify returns a notification
2021-10-15 17:51:59 +03:00
Romanos Skiadas c5852546ae mpris-widget: correctly clean list of players
Do it outside the loop, otherwise the last player wins.
2021-10-15 17:51:59 +03:00
Romanos Skiadas db0b3e9e8c mpris-widget: fix incorrect boolean expression
the loop is not meant to be executed if the player name is nil or '', so
the expression needs to be an and.
2021-10-15 17:51:59 +03:00
Romanos Skiadas 2755f85623 mpris-widget: remove some dead code
the mpdarc widget is not really used and is a copy-paste leftover. The
current widget has its own bindings already.
2021-10-15 17:51:59 +03:00
streetturtle 173ef2fab3
Merge pull request #302 from clifordjoshy/master
Fixes issue while printing song names containing certain unicode characters.
2021-10-14 16:02:52 -04:00
streetturtle 63f33ff9ed
Merge pull request #297 from dgrabla/hotfix/change_name_for_displayName
fix(jira): update field name to displayName on *.atlassian.com hosts
2021-10-13 19:57:59 -04:00
streetturtle 56b13ca8b1
Merge pull request #301 from Desour/volume_step_inc_dec
Add a step parameter for volume_widget:inc() and :dec()
2021-10-13 19:56:53 -04:00
Cliford 773b371cb4 fixed unicode truncation bug 2021-10-08 19:51:35 +05:30
David Grajal 7ed2f25012
fix(jira): use assignee.name or assignee.displayName
On *.atlassian.com hosts the api returns the name on 'displayName'

The jira API doesn't seem to send the field name anymore
https://docs.atlassian.com/software/jira/docs/api/7.1.0/com/atlassian/jira/user/UserDetails.html

After this commit we use one or the other, whatever is available.
2021-09-28 09:34:49 +02:00
Desour fe6606d511 Add a step parameter for volume_widget:inc() and :dec() 2021-09-23 23:04:26 +02:00
streetturtle 8c5a58c93c
Create CODEOWNERS 2021-09-20 21:18:37 -04:00
streetturtle 2147ba9d7e fix luacheck 2021-09-19 22:02:40 -04:00
streetturtle 9d9658799f
Merge pull request #298 from floli/optimize-cpu-cmd
Make the CMD_slim command even slimmer.
2021-09-19 21:52:46 -04:00
streetturtle 3c579e20d6
Update README.md 2021-09-19 21:11:49 -04:00
streetturtle af8d66855e Merge branch 'master' of github.com:streetturtle/awesome-wm-widgets 2021-09-19 21:10:48 -04:00
streetturtle 0282f91feb new github prs widget 2021-09-19 21:10:39 -04:00
streetturtle 0ec92e1189
Update README.md 2021-09-19 20:42:01 -04:00
Florian Lindner 6e7c1dc4be Make the CMD_slim command even slimmer.
Does not use pipe redirection, as a result the shell is not
required anymore.
2021-09-15 10:04:18 +02:00
streetturtle 3b24474de4
Merge pull request #294 from rski/master
mpris-widget: Misc fixes to get it in a working state
2021-09-01 15:11:42 -04:00
streetturtle dbb474eaf7
Merge pull request #291 from TD-Sky/master
Add the 'step' arg for volume-widget
2021-08-27 20:51:24 -04:00
streetturtle 5f60fc659b
Merge pull request #296 from paulhersch/patch-1
added German locale for weather-widget
2021-08-27 20:48:08 -04:00
paulhersch 25875bb2b8
added German locale for weather-widget 2021-08-25 10:46:51 +02:00
Romanos Skiadas 540d5edb5f mpris-widget: fix capture regex for playerctl output
Before, the table ended up being something like {"status", "",
"artist", "", ..}, so the output of the widget was garbled.
2021-08-23 11:20:27 +03:00
Romanos Skiadas cede33fa3f mpris-widget: fix call to set_text
.set_text is invalid, it should be :set_text like in the other branches
of the if.
2021-08-23 11:20:08 +03:00
Romanos Skiadas cdeed22ba5 mpris-widget: fix README, typo 2021-08-23 11:19:33 +03:00
streetturtle a83ba6ff78
Merge pull request #292 from cobacdavid/weather-languages
[weather-widget] enable locale
2021-08-03 15:29:14 -04:00
streetturtle babb4254db
Merge pull request #275 from streetturtle/274-make-beautiful-optional
274 make beautiful optional
2021-08-03 15:23:24 -04:00
streetturtle 44c370aa57 Merge branch 'master' of github.com:streetturtle/awesome-wm-widgets 2021-08-03 15:19:00 -04:00
cobacdavid c505ae70cc [weather-widget] enable locale 2021-07-29 16:45:58 +02:00
Randal 14bb270274 add the 'step' arg for volume-widget 2021-07-24 21:14:28 +08:00
streetturtle 55630a7734
Merge pull request #287 from cobacdavid/color_mgmt
[github-contributions] Color management
2021-07-20 11:34:24 -04:00
streetturtle dcc48b857a
Merge pull request #286 from cobacdavid/gcw_first_col_fix
[github-contributions] bad day_idx init.
2021-07-20 11:30:23 -04:00
streetturtle ac742a67e8
Merge pull request #285 from cobacdavid/gcw_address_change
[github-contributions] requests api address change
2021-07-20 11:24:27 -04:00
cobacdavid f3d1b82fdf [github-contributions] color management 2021-07-20 16:34:18 +02:00
cobacdavid 1437626e90 [github-contributions] bad day_idx init. 2021-07-20 14:47:40 +02:00
cobacdavid deeae5945f [github-contributions] requests api address change 2021-07-20 14:07:33 +02:00
streetturtle 4859e55c24
Merge pull request #277 from Aire-One/274-make-beautiful-optional
[fs-widget] Implement an alternative config pattern
2021-06-28 15:07:02 -04:00
streetturtle a808ead3c7
Merge pull request #280 from LordDot/master
Fix #279 Calendar uses year for today
2021-06-28 15:00:50 -04:00
LordDot 7bb5c8cdfa
Fix #279 Calendar uses year for today 2021-06-26 14:32:20 +02:00
Aire-One 45ec8f85b8 add(fs-widget): Implement an alternative config pattern 2021-06-20 12:21:19 +02:00
streetturtle 1b7909485e
Update README.md 2021-06-18 21:58:30 -04:00
streetturtle ce9d9cd698
Update README.md 2021-06-18 21:58:08 -04:00
streetturtle 58667d2b58
Update README.md 2021-06-18 21:57:41 -04:00
streetturtle f26e848eb1
[ram] add version requirement 2021-06-14 22:25:22 -04:00
streetturtle 625f6690e7
[cpu] add version requirement 2021-06-14 22:21:58 -04:00