File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ pub fn sub() -> impl Stream<Item = Message> {
4545 let mut res = HashMap :: new ( ) ;
4646
4747 for display in Display :: enumerate ( ) {
48+ let info = & display. info ;
49+ info ! ( "{:?}" , info) ;
50+
4851 let mon = Monitor {
4952 name : display. info . model_name . clone ( ) . unwrap_or_default ( ) ,
5053 brightness : 0 ,
@@ -62,7 +65,7 @@ pub fn sub() -> impl Stream<Item = Message> {
6265 rx
6366 } ;
6467
65- let mut state = State :: Fetching ;
68+ let mut state = State :: Ready ;
6669 let mut duration = DEFAULT_WAITING ;
6770
6871 let mut request_buff = Vec :: new ( ) ;
@@ -138,7 +141,7 @@ pub fn sub() -> impl Stream<Item = Message> {
138141 }
139142 }
140143
141- if refresh {
144+ if false {
142145 let displays = displays. clone ( ) ;
143146
144147 let j = tokio:: task:: spawn_blocking ( move || {
You can’t perform that action at this time.
0 commit comments