File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ pub fn get_config(socket: Option<&str>, raw: bool) -> Result<()> {
103103
104104 let sep = if raw { "" } else { "│" } ;
105105 print_border ( "┌" , "─" , "┐" ) ;
106- println ! ( "{sep} {} {sep}" , config_str ) ;
106+ println ! ( "{sep} {config_str } {sep}" , ) ;
107107
108108 print_border ( "├" , "┬" , "┤" ) ;
109109 if !raw {
@@ -124,7 +124,7 @@ pub fn get_config(socket: Option<&str>, raw: bool) -> Result<()> {
124124 ] ;
125125
126126 let c = if raw { c } else { color ( c) } ;
127- println ! ( "{sep} {} {sep} {} {sep} {} {sep}" , t , c , o ) ;
127+ println ! ( "{sep} {t } {sep} {c } {sep} {o } {sep}" ) ;
128128 }
129129
130130 print_border ( "└" , "┴" , "┘" ) ;
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ impl Scratchpad {
185185 }
186186
187187 fn spawn_special ( & self ) {
188- prepare_commands ( & self , Some ( false ) ) . iter ( ) . for_each ( |cmd| {
188+ prepare_commands ( self , Some ( false ) ) . iter ( ) . for_each ( |cmd| {
189189 hyprland:: dispatch!( Exec , & cmd) . log_err ( file ! ( ) , line ! ( ) ) ;
190190 } ) ;
191191 }
@@ -227,7 +227,7 @@ impl Scratchpad {
227227 hide_special ( ac) ;
228228 }
229229
230- prepare_commands ( & self , None ) . iter ( ) . for_each ( |cmd| {
230+ prepare_commands ( self , None ) . iter ( ) . for_each ( |cmd| {
231231 hyprland:: dispatch!( Exec , & cmd) . log_err ( file ! ( ) , line ! ( ) ) ;
232232 } ) ;
233233 }
You can’t perform that action at this time.
0 commit comments