Commit Graph

24 Commits

Author SHA1 Message Date
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 3e9f130450 Add option 'percentage' for brightness widget 2022-01-20 19:45:53 -03: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 a2eddcdfcd Add widget timeouts 2020-09-19 01:08:15 -07:00
streetturtle 429e6eb54a external config for brightness and brightnessarc 2019-05-02 21:35:30 -04: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
pmakhov e6c3059727 Possible fix for the memory leak (issue #11) 2017-12-09 14:39:46 -05:00
Tommy Mattsson 9159497bf5 Added space between icon and number, and added % afterwards. 2017-10-09 11:25:51 +02: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 c4826fd213 new widgets added 2017-01-30 21:40:01 -05:00