Commit Graph

41 Commits

Author SHA1 Message Date
FerrielMelarpis 35ebb01eb8 fixed brightnessctl get command to get percentage value 2023-04-09 22:03:01 +08:00
wiltonloch 5436535d37 Adding a parameter to allow the right mouse button to always set the
brightness level to maximum, instead of the default toggle behavior.
2022-09-17 11:44:26 +02:00
Pavel Balaev 408e044d08
Fix luacheck warnings
This patch fixes luacheck warnings in brightness plugin:
brightness-widget/brightness.lua:60:1:
        inconsistent indentation (SPACE followed by TAB)
brightness-widget/brightness.lua:63:60:
        line contains trailing whitespace
2022-08-23 11:47:06 +03:00
Shubham Pawar fc7d966cb9
Merge branch 'master' into update-brightnessctl 2022-04-16 18:30:12 +05:30
streetturtle 2043d21cb5
Merge pull request #334 from augustogunsch/brightness_font
Brightness widget - Use by default theme font
2022-04-15 17:16:10 -04:00
Shubham Pawar 6d1c05decc Simplified get_brightness_cmd and using gears.filesystem
- `brightnessctl` already has (g)et option that will get current
  brightness value without any decoration

- Using `gfs.get_configuration_dir()` will return the awesomewm config
  directory. [Reference](https://awesomewm.org/doc/api/libraries/gears.filesystem.html#get_configuration_dir)
2022-03-22 21:43:05 +05:30
Augusto Gunsch 779485872c
Brightness widget - Use by default theme font 2022-01-24 12:20:36 -03:00
Augusto Gunsch 3e9f130450 Add option 'percentage' for brightness widget 2022-01-20 19:45:53 -03:00
Little Clover 2cac9f39d1 grammar correction 2021-12-13 17:36:10 +08:00
serenesensei 77333050f3
fix: valigh -> valign 2021-11-29 00:23:23 +05:30
Alexander Scharinger bbf9706a4a feature: add brightnessctl to brightness-widget 2021-10-16 21:09:58 +02:00
Nuno Silva 50f686d2c2 brightness-widget: fix CI warning about shadowed variable 2021-04-16 21:32:32 +01:00
Nuno Silva e85d353933 brightness-widget: add tooltip showing current level 2021-04-15 23:03:13 +01:00
Nuno Silva ce1af8e607 brightness-widget: support right click
toggles brightness between current level and 0
2021-04-15 22:38:19 +01:00
Nuno Silva c340f49ae5 brightness-widget: support left click
sets brightness to "base" level
2021-04-15 22:01:12 +01:00
Nuno Silva 4cbacd910b brightness-widget: remove sh wrapper
not needed
2021-04-15 21:57:28 +01:00
Nuno Silva be6d28ec6d brightness-widget: remove undefined vars 2021-04-11 20:06:51 +01:00
streetturtle 9b66b2ee44 [brightness] rework brightness widget
also remove brightnessarc widget, as now it's possible to create arcchart widget in brightness widget
2021-01-16 14:50:54 -05:00
streetturtle ed2b256407 fix more warnings 2020-12-06 14:47:40 -05:00
Chris Bruce 21150bd640 Update readmes to include timeout arg 2020-09-19 01:22:27 -07:00
Chris Bruce a2eddcdfcd Add widget timeouts 2020-09-19 01:08:15 -07:00
ProgrammAbel 8213e10094
Change cloned dir to proper folder 2020-04-25 16:06:48 +01:00
streetturtle 429e6eb54a external config for brightness and brightnessarc 2019-05-02 21:35:30 -04:00
streetturtle e972b55c0c
Update README.md 2019-02-11 08:41:46 -05:00
streetturtle 0cce59c09a
Update README.md 2019-02-11 08:40:32 -05:00
Pavel Makhov f95c2015ea remove brightness widget update when brightness is changed by keypress 2019-02-11 08:34:28 -05:00
streetturtle b401c41a25 add mouse controls to brightness widget 2018-10-08 11:07:28 -04:00
streetturtle 04ca3d56f4 few small changes 2018-01-20 23:16:38 -05:00
Chengwei Yang cf2117fb45 brightness-widget: fix typos
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2018-01-02 18:43:32 +08:00
pmakhov e6c3059727 Possible fix for the memory leak (issue #11) 2017-12-09 14:39:46 -05:00
streetturtle c90a92ea4d Update README.md 2017-10-20 21:52:25 -04:00
Tommy Mattsson 9159497bf5 Added space between icon and number, and added % afterwards. 2017-10-09 11:25:51 +02:00
streetturtle 63ed7eaf97 Update README.md 2017-09-06 10:17:31 -04:00
streetturtle e0249737e7 Update README.md 2017-09-06 10:15:11 -04:00
streetturtle e47b79035f Update README.md 2017-09-02 00:46:26 -04:00
pmakhov f3694c759d improve brightness widget 2017-09-02 00:33:39 -04:00
Pavel Makhov 4edc315841 Possible fix for memory leak issue #11 2017-04-14 10:02:54 -04:00
streetturtle 52590602d9 improve widget rendering and use wibox.widget wrapper 2017-02-03 22:15:16 -05:00
streetturtle fa43013431 readme update 2017-02-01 21:45:15 -05:00
streetturtle e214e416d3 screenshots and readme 2017-02-01 21:25:25 -05:00
streetturtle c4826fd213 new widgets added 2017-01-30 21:40:01 -05:00