Skip to content

Commit d1fab2b

Browse files
committed
add screenshots and modify README.md
1 parent 9673991 commit d1fab2b

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

bluelight-widget/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,33 @@
33

44
This widget provides a simple way to toggle a blue light filter using [Redshift](https://github.com/jonls/redshift). It offers an easy mechanism to switch between day and night modes, reducing eye strain during late-night computer use.
55

6+
| Day Mode | Night Mode |
7+
|----------|------------|
8+
|![Day Mode](day.png) | ![Night Mode](night.png) |
9+
10+
(I couldn't capture the effect itself)
11+
12+
I usually use every widget with my custom (kinda janky) [wrapper widget](https://github.com/VMatt013/MySetup/blob/Debian/.config/awesome/widgets/margin.lua) to make them look cleaner and more unified.
13+
14+
15+
**With wrapper**
16+
![With wrapper](with_wrapper.png)
17+
618

719
## Installation
820

921
Clone this repository then add the widget to your wibar:
1022

1123
```lua
1224
local bluelight_widget = require("awesome-wm-widgets.bluelight-widget")
25+
local margin = require("awesome-wm-widgets.margin") -- In case you use my wrapper
1326

1427
s.mytasklist, -- Middle widget
1528
{ -- Right widgets
1629
layout = wibox.layout.fixed.horizontal,
1730
...
1831
bluelight_widget, -- Add the widget here
32+
margin(bluelight, true), -- Add the widget with my wrapper
1933
...
2034
}
2135
```

bluelight-widget/day.png

128 KB
Loading

bluelight-widget/night.png

128 KB
Loading

bluelight-widget/with_wrapper.png

103 KB
Loading

0 commit comments

Comments
 (0)