diff options
author | Shubham Pawar <shubhampawar3007@gmail.com> | 2022-03-22 21:43:05 +0530 |
---|---|---|
committer | Shubham Pawar <shubhampawar3007@gmail.com> | 2022-03-22 21:43:05 +0530 |
commit | 6d1c05decca2fffe87863fceaa163a077360f21d (patch) | |
tree | 4ba0a69c909940acabb9a8098551011507adb28e /volume-widget/widgets/horizontal-bar-widget.lua | |
parent | b8e3a861f4829b2c3820e9a40294a3d9125fbf23 (diff) |
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)
Diffstat (limited to 'volume-widget/widgets/horizontal-bar-widget.lua')
0 files changed, 0 insertions, 0 deletions