mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-08 13:55:07 +02:00
feat(noctalia): monitor brightness
Signed-off-by: Ryan Yin <xiaoyin_c@qq.com>
This commit is contained in:
@@ -133,14 +133,12 @@ Misc:
|
|||||||
Advance Techs:
|
Advance Techs:
|
||||||
|
|
||||||
- Add at the end of multiple lines: `:normal A<text>`
|
- Add at the end of multiple lines: `:normal A<text>`
|
||||||
|
|
||||||
- Execublock: `:A<text>`
|
- Execublock: `:A<text>`
|
||||||
- visual block mode(ctrl + v)
|
- visual block mode(ctrl + v)
|
||||||
- Append text at the end of each line in the selected block
|
- Append text at the end of each line in the selected block
|
||||||
- If position exceeds line end, neovim adds spaces automatically
|
- If position exceeds line end, neovim adds spaces automatically
|
||||||
|
|
||||||
- Delete the last char of multivle lines: `:normal $x`
|
- Delete the last char of multivle lines: `:normal $x`
|
||||||
|
|
||||||
- Execute `$x` on each line
|
- Execute `$x` on each line
|
||||||
- visual mode(v)
|
- visual mode(v)
|
||||||
- `$` moves cursor to the end of line
|
- `$` moves cursor to the end of line
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ listener {
|
|||||||
on-resume = brightnessctl --restore --device=kbd_backlight # turn on keyboard backlight.
|
on-resume = brightnessctl --restore --device=kbd_backlight # turn on keyboard backlight.
|
||||||
}
|
}
|
||||||
|
|
||||||
# listener {
|
listener {
|
||||||
# timeout = 600 # 10min.
|
timeout = 600 # 10min.
|
||||||
# on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||||
# on-resume = brightnessctl -r # monitor backlight restore.
|
on-resume = brightnessctl -r # monitor backlight restore.
|
||||||
# }
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 1200 # 20 minutes
|
timeout = 1200 # 20 minutes
|
||||||
|
|||||||
Reference in New Issue
Block a user