File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ mkTarget {
4141 } )
4242 ( { polarity , icons } : {
4343 services . fnott . settings . main . "icon-theme" =
44- if ( polarity == "dark" ) then icons . dark else icons . light ;
44+ if polarity == "dark" then icons . dark else icons . light ;
4545 } )
4646 ] ;
4747}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ mkTarget {
2828 )
2929 ( { polarity , icons } : {
3030 programs . fuzzel . settings . main . "icon-theme" =
31- if ( polarity == "dark" ) then icons . dark else icons . light ;
31+ if polarity == "dark" then icons . dark else icons . light ;
3232 } )
3333 ] ;
3434}
Original file line number Diff line number Diff line change 4848 # convert each to hex string
4949 ( map toHexString )
5050 # add leading 0 if necessary
51- ( map ( hex : if ( stringLength hex < 2 ) then "0" + hex else hex ) )
51+ ( map ( hex : if stringLength hex < 2 then "0" + hex else hex ) )
5252 # to one string
5353 concatStrings
5454 ] ;
Original file line number Diff line number Diff line change @@ -133,8 +133,7 @@ mkTarget {
133133 )
134134 ( { icons , polarity } : {
135135 qt = qtctSettings {
136- Appearance . icon_theme =
137- if ( polarity == "dark" ) then icons . dark else icons . light ;
136+ Appearance . icon_theme = if polarity == "dark" then icons . dark else icons . light ;
138137 } ;
139138 } )
140139 ( { fonts } : {
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ mkTarget {
107107 ( { polarity , icons } : {
108108 services . displayManager . regreet . iconTheme = {
109109 inherit ( icons ) package ;
110- name = if ( polarity == "dark" ) then icons . dark else icons . light ;
110+ name = if polarity == "dark" then icons . dark else icons . light ;
111111 } ;
112112 } )
113113 ] ;
You can’t perform that action at this time.
0 commit comments