Commit Graph

1056 Commits

Author SHA1 Message Date
lygamac 0aea953a6c volume-widget: fix `INC_VOLUME_CMD` and `DEC_VOLUME_CMD`
PR #315 didn't remove `pulse` after specifying the device variable,
making the command to echo an error.
2021-12-26 12:39:36 +01:00
streetturtle 01a4f428e0
Merge pull request #315 from 0x501D/volume-widget-device
volume-widget: add device parameter
2021-12-13 09:37:41 -05:00
streetturtle 0671068e4a
Merge pull request #318 from ingram1107/master-cleanup
Repo cleanup
2021-12-13 09:36:26 -05:00
Little Clover 2cac9f39d1 grammar correction 2021-12-13 17:36:10 +08:00
Little Clover d41b54c168 correct valigh -> valign 2021-12-11 09:53:09 +08:00
Pavel Balaev 9ab7529788
volume-widget: add device parameter
By default this widget uses pulse audio device. To make this widget
works ALSA users have to install third-party utils. This patch adds
ability to select device name for audio control.
2021-11-30 23:27:26 +03:00
streetturtle d3d929dbba
Merge pull request #314 from serenesensei/brightness-alignment-fix
fix: valigh -> valign
2021-11-28 13:55:36 -05:00
serenesensei 77333050f3
fix: valigh -> valign 2021-11-29 00:23:23 +05:30
streetturtle d5308d3c74
Merge pull request #310 from utix/calendar/improvement
Calendar/improvement
2021-11-20 14:00:00 -05:00
Aurélien LAJOIE 42ddeeb509
calendar: allow to change first day of week
Closes #293
2021-11-20 16:10:29 +01:00
Aurélien LAJOIE 3d611c0531
Calendar: Add documentation about the args to customize
Remove trailing spaces
2021-11-20 16:08:09 +01:00
streetturtle 8e39d6a535
Merge pull request #309 from utix/fixwarnings
weather-widget: hide on click
2021-11-19 20:29:25 -05:00
streetturtle 2df874c543
Merge pull request #304 from rski/master
mpris-widget: another round of improvements
2021-11-19 20:29:10 -05:00
streetturtle 050f328c32
Merge pull request #312 from miselico/master
Added the option to customize te mousebuttons for going to the previous and next month
2021-11-19 20:24:58 -05:00
Michael Cochez 80f6bb2c05 Added the option to customize te mousebuttons for going to the previous and next month 2021-11-20 02:21:32 +01:00
Aurélien LAJOIE bcaaf2e40e
weather-widget: hide on click 2021-10-19 14:30:02 +02:00
streetturtle 2fae9e01a7
Merge pull request #308 from rng-dynamics/feature-brightnessctl
feature: add brightnessctl to brightness-widget
2021-10-18 15:35:45 -04:00
streetturtle 61b3fa2c87
Merge pull request #305 from utix/fixwarnings
jira: Fix warnings
2021-10-18 15:34:16 -04:00
Alexander Scharinger bbf9706a4a feature: add brightnessctl to brightness-widget 2021-10-16 21:09:58 +02:00
Romanos Skiadas 4bc22fbb70 mpris-widget: delete on mouse::enter code
this code is janky, because the notification is set asynchronously, it
can end up not being cleaned by the mouse exit and then you can end up
with multiple ones. Also, the image field of the table needs to be icon,
but if the icon is an http url like some players print or even a local
file like firefox does, setting the icon causes an error as it can't be
read.
2021-10-16 09:59:03 +03:00
Aurélien LAJOIE 9c36f8acb5
jira: Fix warnings 2021-10-15 18:05:51 +02:00
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