mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
vanadium/display: it seems like removing the delay works
This commit is contained in:
parent
d22bd9ae28
commit
4d4363ced1
1 changed files with 0 additions and 4 deletions
|
|
@ -61,11 +61,7 @@
|
|||
device, # obtain with `xrandr`
|
||||
brightness, # [0..1]
|
||||
}:
|
||||
# Hack:
|
||||
# xrandr would consider the display being connected before we can change its brightness
|
||||
# For that reason, we can't base our delay on its output, sadly.
|
||||
singleton "10_xrandr_brightness" ''
|
||||
sleep 10
|
||||
${lib.getExe pkgs.xorg.xrandr} --output ${device} --brightness ${toString brightness}
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue